* Re: python3-cryptography: gives an error: X25519 is not supported by this version of OpenSSL
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-13584@inbox.vuxu.org>
2020-02-25 10:00 ` python3-cryptography: gives an error: X25519 is not supported by this version of OpenSSL xtraeme
@ 2021-01-30 2:26 ` ericonr
2021-01-30 2:26 ` [ISSUE] [CLOSED] " ericonr
2 siblings, 0 replies; 3+ messages in thread
From: ericonr @ 2021-01-30 2:26 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 219 bytes --]
New comment by ericonr on void-packages repository
https://github.com/void-linux/void-packages/issues/13584#issuecomment-770140735
Comment:
Will be fixed with a switch to OpenSSL, nothing to be acted on specifically.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ISSUE] [CLOSED] python3-cryptography: gives an error: X25519 is not supported by this version of OpenSSL
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-13584@inbox.vuxu.org>
2020-02-25 10:00 ` python3-cryptography: gives an error: X25519 is not supported by this version of OpenSSL xtraeme
2021-01-30 2:26 ` ericonr
@ 2021-01-30 2:26 ` ericonr
2 siblings, 0 replies; 3+ messages in thread
From: ericonr @ 2021-01-30 2:26 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 2296 bytes --]
Closed issue by user318 on void-packages repository
https://github.com/void-linux/void-packages/issues/13584
Description:
### System
* xuname: Void 4.19.60_1 x86_64 GenuineIntel notuptodate rF
* package: python3-cryptography-2.4.2_2
### Expected behavior
It is expected to work with x25519.
### Actual behavior
It returns an error when I try to generate x25519 key.
### Steps to reproduce the behavior
```
$ python
Python 3.6.9 (default, Jul 5 2019, 09:47:14)
[GCC 9.1.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from cryptography.hazmat.primitives.asymmetric.x25519 import X25519PrivateKey
>>> private_key = X25519PrivateKey.generate()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3.6/site-packages/cryptography/hazmat/primitives/asymmetric/x25519.py", line 39, in generate
_Reasons.UNSUPPORTED_EXCHANGE_ALGORITHM
cryptography.exceptions.UnsupportedAlgorithm: X25519 is not supported by this version of OpenSSL.
>>> from cryptography.hazmat.backends import default_backend
>>> default_backend().x25519_generate_key()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3.6/site-packages/cryptography/hazmat/backends/openssl/backend.py", line 2067, in x25519_generate_key
self.openssl_assert(evp_pkey_ctx != self._ffi.NULL)
File "/usr/lib/python3.6/site-packages/cryptography/hazmat/backends/openssl/backend.py", line 115, in openssl_assert
return binding._openssl_assert(self._lib, ok)
File "/usr/lib/python3.6/site-packages/cryptography/hazmat/bindings/openssl/binding.py", line 77, in _openssl_assert
errors_with_text
cryptography.exceptions.InternalError: Unknown OpenSSL error. This error is commonly encountered when another library is not cleaning up the OpenSSL error stack. If you are using cryptography with another library that uses OpenSSL try disabling it before reporting a bug. Otherwise please file an issue at https://github.com/pyca/cryptography/issues with information on how to reproduce this. ([_OpenSSLErrorWithText(code=117436572, lib=6, func=4095, reason=156, reason_text=b'error:06FFF09C:digital envelope routines:CRYPTO_internal:unsupported algorithm')])
```
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: python3-cryptography: gives an error: X25519 is not supported by this version of OpenSSL
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-13584@inbox.vuxu.org>
@ 2020-02-25 10:00 ` xtraeme
2021-01-30 2:26 ` ericonr
2021-01-30 2:26 ` [ISSUE] [CLOSED] " ericonr
2 siblings, 0 replies; 3+ messages in thread
From: xtraeme @ 2020-02-25 10:00 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 185 bytes --]
New comment by xtraeme on void-packages repository
https://github.com/void-linux/void-packages/issues/13584#issuecomment-590783830
Comment:
This seems to be a specific libressl issue
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-01-30 2:26 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-13584@inbox.vuxu.org>
2020-02-25 10:00 ` python3-cryptography: gives an error: X25519 is not supported by this version of OpenSSL xtraeme
2021-01-30 2:26 ` ericonr
2021-01-30 2:26 ` [ISSUE] [CLOSED] " ericonr
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).