Source: python-asyncssh
Version: 2.5.0-1
Severity: important
Tags: bookworm sid
User: pkg-openssl-de...@lists.alioth.debian.org
Usertags: ftbfs-3.0

Your package is failing to build using OpenSSL 3.0 with the
following error:

| Test with stdout redirected to a socketpair ... ok
| test_keys (tests.test_public_key.TestDSA)
| Check keys and certificates ... read DSA key
| Could not read private key from privout
| C0329FE5887F0000:error:0308010C:digital envelope 
routines:inner_evp_generic_fetch:unsupported:../crypto/evp/evp_fetch.c:349:Global
 default l ibrary context, Algorithm (DES-CBC : 8), Properties ()
| C0329FE5887F0000:error:04800065:PEM routines:PEM_do_header:bad 
decrypt:../crypto/pem/pem_lib.c:467:
| unable to load Key
| 
| Error encrypting key
| C0F23930DD7F0000:error:0308010C:digital envelope 
routines:inner_evp_generic_fetch:unsupported:../crypto/evp/evp_fetch.c:349:Global
 default l ibrary context, Algorithm (PBKDF1 : 0), Properties (<null>)
| C0F23930DD7F0000:error:11800067:PKCS12 
routines:PKCS12_item_i2d_encrypt_ex:encrypt 
error:../crypto/pkcs12/p12_decr.c:191:
| C0F23930DD7F0000:error:11800067:PKCS12 routines:PKCS8_set0_pbe_ex:encrypt 
error:../crypto/pkcs12/p12_p8e.c:80:
| 
| Error decrypting key
| C0A2CDA7957F0000:error:0308010C:digital envelope 
routines:inner_evp_generic_fetch:unsupported:../crypto/evp/evp_fetch.c:349:Global
 default l ibrary context, Algorithm (PBKDF1 : 0), Properties (<null>)
| 
| Error encrypting key
| C0E2901CA87F0000:error:0308010C:digital envelope 
routines:inner_evp_generic_fetch:unsupported:../crypto/evp/evp_fetch.c:349:Global
 default l ibrary context, Algorithm (PBKDF1 : 0), Properties (<null>)
| C0E2901CA87F0000:error:11800067:PKCS12 
routines:PKCS12_item_i2d_encrypt_ex:encrypt 
error:../crypto/pkcs12/p12_decr.c:191:
| C0E2901CA87F0000:error:11800067:PKCS12 routines:PKCS8_set0_pbe_ex:encrypt 
error:../crypto/pkcs12/p12_p8e.c:80:
| 
| Error decrypting key
| C022AC89AD7F0000:error:0308010C:digital envelope 
routines:inner_evp_generic_fetch:unsupported:../crypto/evp/evp_fetch.c:349:Global
 default l ibrary context, Algorithm (PBKDF1 : 0), Properties (<null>)
| 
| Error encrypting key
| C07236AEFD7E0000:error:0308010C:digital envelope 
routines:inner_evp_generic_fetch:unsupported:../crypto/evp/evp_fetch.c:349:Global
 default l ibrary context, Algorithm (PBKDF1 : 0), Properties (<null>)
| C07236AEFD7E0000:error:11800067:PKCS12 
routines:PKCS12_item_i2d_encrypt_ex:encrypt 
error:../crypto/pkcs12/p12_decr.c:191:
| C07236AEFD7E0000:error:11800067:PKCS12 routines:PKCS8_set0_pbe_ex:encrypt 
error:../crypto/pkcs12/p12_p8e.c:80:
| 
| Error decrypting key
| C0F2A1A59E7F0000:error:0308010C:digital envelope 
routines:inner_evp_generic_fetch:unsupported:../crypto/evp/evp_fetch.c:349:Global
 default l ibrary context, Algorithm (PBKDF1 : 0), Properties (<null>)
| 
| Error encrypting key
| C0E2DA053F7F0000:error:0308010C:digital envelope 
routines:inner_evp_generic_fetch:unsupported:../crypto/evp/evp_fetch.c:349:Global
 default l ibrary context, Algorithm (PBKDF1 : 0), Properties (<null>)
| C0E2DA053F7F0000:error:11800067:PKCS12 
routines:PKCS12_item_i2d_encrypt_ex:encrypt 
error:../crypto/pkcs12/p12_decr.c:191:
| C0E2DA053F7F0000:error:11800067:PKCS12 routines:PKCS8_set0_pbe_ex:encrypt 
error:../crypto/pkcs12/p12_p8e.c:80:
| 
| Error decrypting key
| C0C289B1987F0000:error:0308010C:digital envelope 
routines:inner_evp_generic_fetch:unsupported:../crypto/evp/evp_fetch.c:349:Global
 default l ibrary context, Algorithm (PBKDF1 : 0), Properties (<null>)
| 
| Error encrypting key
| C0623CE6057F0000:error:0308010C:digital envelope 
routines:inner_evp_generic_fetch:unsupported:../crypto/evp/evp_fetch.c:349:Global
 default l ibrary context, Algorithm (RC4-40 : 0), Properties ()
| C0623CE6057F0000:error:11800067:PKCS12 
routines:PKCS12_item_i2d_encrypt_ex:encrypt 
error:../crypto/pkcs12/p12_decr.c:191:
| C0623CE6057F0000:error:11800067:PKCS12 routines:PKCS8_set0_pbe_ex:encrypt 
error:../crypto/pkcs12/p12_p8e.c:80:
| 
| Error decrypting key
| C0220552287F0000:error:0308010C:digital envelope 
routines:inner_evp_generic_fetch:unsupported:../crypto/evp/evp_fetch.c:349:Global
 default l ibrary context, Algorithm (RC4-40 : 0), Properties ()
| 
| Error encrypting key
| C002839AAD7F0000:error:0308010C:digital envelope 
routines:inner_evp_generic_fetch:unsupported:../crypto/evp/evp_fetch.c:349:Global
 default l ibrary context, Algorithm (RC4-40 : 0), Properties ()
| C002839AAD7F0000:error:11800067:PKCS12 
routines:PKCS12_item_i2d_encrypt_ex:encrypt 
error:../crypto/pkcs12/p12_decr.c:191:
| C002839AAD7F0000:error:11800067:PKCS12 routines:PKCS8_set0_pbe_ex:encrypt 
error:../crypto/pkcs12/p12_p8e.c:80:
| 
| Error decrypting key
| C0625B2AE37F0000:error:0308010C:digital envelope 
routines:inner_evp_generic_fetch:unsupported:../crypto/evp/evp_fetch.c:349:Global
 default l ibrary context, Algorithm (RC4-40 : 0), Properties ()
| 
| Error encrypting key
| C0B2E4849E7F0000:error:0308010C:digital envelope 
routines:inner_evp_generic_fetch:unsupported:../crypto/evp/evp_fetch.c:349:Global
 default l ibrary context, Algorithm (RC4 : 37), Properties ()
| C0B2E4849E7F0000:error:11800067:PKCS12 
routines:PKCS12_item_i2d_encrypt_ex:encrypt 
error:../crypto/pkcs12/p12_decr.c:191:
| C0B2E4849E7F0000:error:11800067:PKCS12 routines:PKCS8_set0_pbe_ex:encrypt 
error:../crypto/pkcs12/p12_p8e.c:80:
| 
| Error decrypting key
| C0E25B85A17F0000:error:0308010C:digital envelope 
routines:inner_evp_generic_fetch:unsupported:../crypto/evp/evp_fetch.c:349:Global
 default l ibrary context, Algorithm (RC4 : 37), Properties ()
| 
| Error encrypting key
| C0B204958F7F0000:error:0308010C:digital envelope 
routines:inner_evp_generic_fetch:unsupported:../crypto/evp/evp_fetch.c:349:Global
 default l ibrary context, Algorithm (RC4 : 37), Properties ()
| C0B204958F7F0000:error:11800067:PKCS12 
routines:PKCS12_item_i2d_encrypt_ex:encrypt 
error:../crypto/pkcs12/p12_decr.c:191:
| C0B204958F7F0000:error:11800067:PKCS12 routines:PKCS8_set0_pbe_ex:encrypt 
error:../crypto/pkcs12/p12_p8e.c:80:
| 
| Error decrypting key
| C0E27B3D0C7F0000:error:0308010C:digital envelope 
routines:inner_evp_generic_fetch:unsupported:../crypto/evp/evp_fetch.c:349:Global
 default l ibrary context, Algorithm (RC4 : 37), Properties ()
| 
| Error setting PBE algorithm
| C0324C2FE27F0000:error:0308010C:digital envelope 
routines:inner_evp_generic_fetch:unsupported:../crypto/evp/evp_fetch.c:349:Global
 default l ibrary context, Algorithm (BF-CBC : 11), Properties ()
…
| Test validation of X.509 self-signed certificate ... ok
| 
| ======================================================================
| ERROR: test_keys (tests.test_public_key.TestDSA) [Export PKCS#1 PEM private 
(des-cbc)] (alg_name='ssh-dss')
| Check keys and certificates
| ----------------------------------------------------------------------
| Traceback (most recent call last):
|   File "/<<PKGBUILDDIR>>/tests/test_public_key.py", line 1539, in 
check_pkcs1_private
|     self.export_pkcs1_private('pem', cipher)
|   File "/<<PKGBUILDDIR>>/tests/test_public_key.py", line 509, in 
export_pkcs1_private
|     run('openssl %s -in privout -inform %s -out new -outform pem '
|   File "/<<PKGBUILDDIR>>/tests/util.py", line 180, in run
|     return subprocess.check_output(cmd, shell=True,
|   File "/usr/lib/python3.10/subprocess.py", line 420, in check_output
|     return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
|   File "/usr/lib/python3.10/subprocess.py", line 524, in run
|     raise CalledProcessError(retcode, process.args,
| subprocess.CalledProcessError: Command 'openssl dsa -in privout -inform pem 
-out new -outform pem -passin pass:passphrase' returned non-zero  exit status 1.
| 
| ======================================================================
| ERROR: test_keys (tests.test_public_key.TestDSA) [Import PKCS#8 PEM private 
(des-cbc-md5-v1)] (alg_name='ssh-dss')
| Check keys and certificates
| ----------------------------------------------------------------------
| Traceback (most recent call last):
|   File "/<<PKGBUILDDIR>>/tests/test_public_key.py", line 1574, in 
check_pkcs8_private
|     self.import_pkcs8_private('pem', openssl_ok, cipher,
|   File "/<<PKGBUILDDIR>>/tests/test_public_key.py", line 565, in 
import_pkcs8_private
|     run('openssl pkcs8 -topk8 %s -in priv -inform pem -out new '
|   File "/<<PKGBUILDDIR>>/tests/util.py", line 180, in run
|     return subprocess.check_output(cmd, shell=True,
|   File "/usr/lib/python3.10/subprocess.py", line 420, in check_output
|     return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
|   File "/usr/lib/python3.10/subprocess.py", line 524, in run
|     raise CalledProcessError(retcode, process.args,
| subprocess.CalledProcessError: Command 'openssl pkcs8 -topk8 -v1 PBE-MD5-DES 
-in priv -inform pem -out new -outform pem -passout pass:passph rase' returned 
non-zero exit status 1.
…

For more information see:
https://www.openssl.org/docs/man3.0/man7/migration_guide.html

Sebastian

Reply via email to