Please let me know if I need to furnish any more info.
==========
I also had an another question (my apologies if this is the wrong place for it): is it possible to encrypt a string using an ASC key pair and passphrase without actually importing the keys into gnupg?
I was running the self test code:
python3 -m Crypto.SelfTest
/usr/local/lib/python3.8/dist-packages/Crypto/SelfTest/Cipher/test_DES3.py:60: UserWarning: Warning: skipping extended tests for TDES ECB (TECBMMT2.rsp) test_vectors = load_test_vectors( /usr/local/lib/python3.8/dist-packages/Crypto/SelfTest/Cipher/test_DES3.py:60: UserWarning: Warning: skipping extended tests for TDES ECB (TECBMMT3.rsp) test_vectors = load_test_vectors( /usr/local/lib/python3.8/dist-packages/Crypto/SelfTest/Cipher/test_GCM.py:782: UserWarning: Warning: skipping extended tests for GCM decrypt test_vectors_nist = load_test_vectors( /usr/local/lib/python3.8/dist-packages/Crypto/SelfTest/Cipher/test_GCM.py:788: UserWarning: Warning: skipping extended tests for GCM encrypt test_vectors_nist += load_test_vectors( /usr/local/lib/python3.8/dist-packages/Crypto/SelfTest/Hash/test_SHA1.py:58: UserWarning: Warning: skipping extended tests for KAT SHA-1 test_vectors = load_test_vectors(("Hash", "SHA1"), /usr/local/lib/python3.8/dist-packages/Crypto/SelfTest/Hash/test_SHA3_224.py:59: UserWarning: Warning: skipping extended tests for KAT SHA-3 224 test_vectors = load_test_vectors(("Hash", "SHA3"), /usr/local/lib/python3.8/dist-packages/Crypto/SelfTest/Hash/test_SHA3_256.py:59: UserWarning: Warning: skipping extended tests for KAT SHA-3 256 test_vectors = load_test_vectors(("Hash", "SHA3"), /usr/local/lib/python3.8/dist-packages/Crypto/SelfTest/Hash/test_SHA3_384.py:59: UserWarning: Warning: skipping extended tests for KAT SHA-3 384 test_vectors = load_test_vectors(("Hash", "SHA3"), /usr/local/lib/python3.8/dist-packages/Crypto/SelfTest/Hash/test_SHA3_512.py:59: UserWarning: Warning: skipping extended tests for KAT SHA-3 512 test_vectors = load_test_vectors(("Hash", "SHA3"), /usr/local/lib/python3.8/dist-packages/Crypto/SelfTest/Hash/test_keccak.py:144: UserWarning: Warning: skipping extended tests for Short Messages KAT 224 test_vectors_224 = load_test_vectors(("Hash", "keccak"), /usr/local/lib/python3.8/dist-packages/Crypto/SelfTest/Hash/test_keccak.py:149: UserWarning: Warning: skipping extended tests for Long Messages KAT 224 test_vectors_224 += load_test_vectors(("Hash", "keccak"), /usr/local/lib/python3.8/dist-packages/Crypto/SelfTest/Hash/test_keccak.py:168: UserWarning: Warning: skipping extended tests for Short Messages KAT 256 test_vectors_256 = load_test_vectors(("Hash", "keccak"), /usr/local/lib/python3.8/dist-packages/Crypto/SelfTest/Hash/test_keccak.py:173: UserWarning: Warning: skipping extended tests for Long Messages KAT 256 test_vectors_256 += load_test_vectors(("Hash", "keccak"), /usr/local/lib/python3.8/dist-packages/Crypto/SelfTest/Hash/test_keccak.py:193: UserWarning: Warning: skipping extended tests for Short Messages KAT 384 test_vectors_384 = load_test_vectors(("Hash", "keccak"), /usr/local/lib/python3.8/dist-packages/Crypto/SelfTest/Hash/test_keccak.py:198: UserWarning: Warning: skipping extended tests for Long Messages KAT 384 test_vectors_384 += load_test_vectors(("Hash", "keccak"), /usr/local/lib/python3.8/dist-packages/Crypto/SelfTest/Hash/test_keccak.py:217: UserWarning: Warning: skipping extended tests for Short Messages KAT 512 test_vectors_512 = load_test_vectors(("Hash", "keccak"), /usr/local/lib/python3.8/dist-packages/Crypto/SelfTest/Hash/test_keccak.py:222: UserWarning: Warning: skipping extended tests for Long Messages KAT 512 test_vectors_512 += load_test_vectors(("Hash", "keccak"), /usr/local/lib/python3.8/dist-packages/Crypto/SelfTest/Hash/test_SHAKE.py:94: UserWarning: Warning: skipping extended tests for Short Messages KAT SHAKE128 test_vectors_128 = load_test_vectors(("Hash", "SHA3"), /usr/local/lib/python3.8/dist-packages/Crypto/SelfTest/Hash/test_SHAKE.py:113: UserWarning: Warning: skipping extended tests for Short Messages KAT SHAKE256 test_vectors_256 = load_test_vectors(("Hash", "SHA3"), /usr/local/lib/python3.8/dist-packages/Crypto/SelfTest/Hash/test_SHA512.py:55: UserWarning: Warning: skipping extended tests for KAT SHA-512 test_vectors = load_test_vectors(("Hash", "SHA2"), /usr/local/lib/python3.8/dist-packages/Crypto/SelfTest/Hash/test_SHA512.py:79: UserWarning: Warning: skipping extended tests for KAT SHA-512/224 test_vectors = load_test_vectors(("Hash", "SHA2"), /usr/local/lib/python3.8/dist-packages/Crypto/SelfTest/Hash/test_SHA512.py:104: UserWarning: Warning: skipping extended tests for KAT SHA-512/256 test_vectors = load_test_vectors(("Hash", "SHA2"), /usr/local/lib/python3.8/dist-packages/Crypto/SelfTest/PublicKey/test_ECC.py:482: UserWarning: Warning: skipping extended tests for P-256 tests from point-at-infinity.org tv_pai = load_test_vectors(("PublicKey", "ECC"), /usr/local/lib/python3.8/dist-packages/Crypto/SelfTest/PublicKey/test_ECC.py:503: UserWarning: Warning: skipping extended tests for P-384 tests from point-at-infinity.org tv_pai = load_test_vectors(("PublicKey", "ECC"), /usr/local/lib/python3.8/dist-packages/Crypto/SelfTest/PublicKey/test_ECC.py:524: UserWarning: Warning: skipping extended tests for P-521 tests from point-at-infinity.org tv_pai = load_test_vectors(("PublicKey", "ECC"), /usr/local/lib/python3.8/dist-packages/Crypto/SelfTest/PublicKey/test_import_ECC.py:88: UserWarning: Warning: skipping extended tests for ECC key_lines = load_file("ecc_p256.txt").splitlines() /usr/local/lib/python3.8/dist-packages/Crypto/SelfTest/Signature/test_pkcs1_15.py:70: UserWarning: Warning: skipping extended tests for Signature Verification 186-3 test_vectors_verify = load_test_vectors(("Signature", "PKCS1-v1.5"), /usr/local/lib/python3.8/dist-packages/Crypto/SelfTest/Signature/test_pkcs1_15.py:117: UserWarning: Warning: skipping extended tests for Signature Generation 186-2 test_vectors_sign = load_test_vectors(("Signature", "PKCS1-v1.5"), /usr/local/lib/python3.8/dist-packages/Crypto/SelfTest/Signature/test_pkcs1_15.py:122: UserWarning: Warning: skipping extended tests for Signature Generation 186-3 test_vectors_sign += load_test_vectors(("Signature", "PKCS1-v1.5"), /usr/local/lib/python3.8/dist-packages/Crypto/SelfTest/Signature/test_pss.py:117: UserWarning: Warning: skipping extended tests for Signature Verification 186-3 test_vectors_verify = load_test_vectors(("Signature", "PKCS1-PSS"), /usr/local/lib/python3.8/dist-packages/Crypto/SelfTest/Signature/test_pss.py:169: UserWarning: Warning: skipping extended tests for Signature Generation 186-2 test_vectors_sign = load_test_vectors(("Signature", "PKCS1-PSS"), /usr/local/lib/python3.8/dist-packages/Crypto/SelfTest/Signature/test_pss.py:174: UserWarning: Warning: skipping extended tests for Signature Generation 186-3 test_vectors_sign += load_test_vectors(("Signature", "PKCS1-PSS"), /usr/local/lib/python3.8/dist-packages/Crypto/SelfTest/Signature/test_dss.py:151: UserWarning: Warning: skipping extended tests for Signature Verification 186-3 test_vectors_verify = load_test_vectors(("Signature", "DSA"), /usr/local/lib/python3.8/dist-packages/Crypto/SelfTest/Signature/test_dss.py:189: UserWarning: Warning: skipping extended tests for Signature Creation 186-3 test_vectors_sign = load_test_vectors(("Signature", "DSA"), /usr/local/lib/python3.8/dist-packages/Crypto/SelfTest/Signature/test_dss.py:286: UserWarning: Warning: skipping extended tests for ECDSA Signature Verification 186-3 test_vectors_verify = load_test_vectors(("Signature", "ECDSA"), /usr/local/lib/python3.8/dist-packages/Crypto/SelfTest/Signature/test_dss.py:320: UserWarning: Warning: skipping extended tests for ECDSA Signature Verification 186-3 test_vectors_sign = load_test_vectors(("Signature", "ECDSA"), .................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................E..................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................E.................................EEEEEEEEEEEEE......................................................................................................................................................................................................................................................................................./usr/local/lib/python3.8/dist-packages/Crypto/SelfTest/Cipher/test_ChaCha20_Poly1305.py:635: UserWarning: Warning: skipping extended tests for Wycheproof ChaCha20-Poly1305 result = load_test_vectors_wycheproof(("Cipher", "wycheproof"), ........../usr/local/lib/python3.8/dist-packages/Crypto/SelfTest/Cipher/test_pkcs1_15.py:216: UserWarning: Warning: skipping extended tests for Wycheproof PKCS#1v1.5 (rsa_pkcs1_2048_test.json) result = load_test_vectors_wycheproof(("Cipher", "wycheproof"), /usr/local/lib/python3.8/dist-packages/Crypto/SelfTest/Cipher/test_pkcs1_15.py:216: UserWarning: Warning: skipping extended tests for Wycheproof PKCS#1v1.5 (rsa_pkcs1_3072_test.json) result = load_test_vectors_wycheproof(("Cipher", "wycheproof"), /usr/local/lib/python3.8/dist-packages/Crypto/SelfTest/Cipher/test_pkcs1_15.py:216: UserWarning: Warning: skipping extended tests for Wycheproof PKCS#1v1.5 (rsa_pkcs1_4096_test.json) result = load_test_vectors_wycheproof(("Cipher", "wycheproof"), .......E.../usr/local/lib/python3.8/dist-packages/Crypto/SelfTest/Cipher/test_pkcs1_oaep.py:431: UserWarning: Warning: skipping extended tests for Wycheproof PKCS#1 OAEP (rsa_oaep_2048_sha1_mgf1sha1_test.json) result = load_test_vectors_wycheproof(("Cipher", "wycheproof"), /usr/local/lib/python3.8/dist-packages/Crypto/SelfTest/Cipher/test_pkcs1_oaep.py:431: UserWarning: Warning: skipping extended tests for Wycheproof PKCS#1 OAEP (rsa_oaep_2048_sha224_mgf1sha1_test.json) result = load_test_vectors_wycheproof(("Cipher", "wycheproof"), /usr/local/lib/python3.8/dist-packages/Crypto/SelfTest/Cipher/test_pkcs1_oaep.py:431: UserWarning: Warning: skipping extended tests for Wycheproof PKCS#1 OAEP (rsa_oaep_2048_sha224_mgf1sha224_test.json) result = load_test_vectors_wycheproof(("Cipher", "wycheproof"), /usr/local/lib/python3.8/dist-packages/Crypto/SelfTest/Cipher/test_pkcs1_oaep.py:431: UserWarning: Warning: skipping extended tests for Wycheproof PKCS#1 OAEP (rsa_oaep_2048_sha256_mgf1sha1_test.json) result = load_test_vectors_wycheproof(("Cipher", "wycheproof"), /usr/local/lib/python3.8/dist-packages/Crypto/SelfTest/Cipher/test_pkcs1_oaep.py:431: UserWarning: Warning: skipping extended tests for Wycheproof PKCS#1 OAEP (rsa_oaep_2048_sha256_mgf1sha256_test.json) result = load_test_vectors_wycheproof(("Cipher", "wycheproof"), /usr/local/lib/python3.8/dist-packages/Crypto/SelfTest/Cipher/test_pkcs1_oaep.py:431: UserWarning: Warning: skipping extended tests for Wycheproof PKCS#1 OAEP (rsa_oaep_2048_sha384_mgf1sha1_test.json) result = load_test_vectors_wycheproof(("Cipher", "wycheproof"), /usr/local/lib/python3.8/dist-packages/Crypto/SelfTest/Cipher/test_pkcs1_oaep.py:431: UserWarning: Warning: skipping extended tests for Wycheproof PKCS#1 OAEP (rsa_oaep_2048_sha384_mgf1sha384_test.json) result = load_test_vectors_wycheproof(("Cipher", "wycheproof"), /usr/local/lib/python3.8/dist-packages/Crypto/SelfTest/Cipher/test_pkcs1_oaep.py:431: UserWarning: Warning: skipping extended tests for Wycheproof PKCS#1 OAEP (rsa_oaep_2048_sha512_mgf1sha1_test.json) result = load_test_vectors_wycheproof(("Cipher", "wycheproof"), /usr/local/lib/python3.8/dist-packages/Crypto/SelfTest/Cipher/test_pkcs1_oaep.py:431: UserWarning: Warning: skipping extended tests for Wycheproof PKCS#1 OAEP (rsa_oaep_2048_sha512_mgf1sha512_test.json) result = load_test_vectors_wycheproof(("Cipher", "wycheproof"), /usr/local/lib/python3.8/dist-packages/Crypto/SelfTest/Cipher/test_pkcs1_oaep.py:431: UserWarning: Warning: skipping extended tests for Wycheproof PKCS#1 OAEP (rsa_oaep_3072_sha256_mgf1sha1_test.json) result = load_test_vectors_wycheproof(("Cipher", "wycheproof"), /usr/local/lib/python3.8/dist-packages/Crypto/SelfTest/Cipher/test_pkcs1_oaep.py:431: UserWarning: Warning: skipping extended tests for Wycheproof PKCS#1 OAEP (rsa_oaep_3072_sha256_mgf1sha256_test.json) result = load_test_vectors_wycheproof(("Cipher", "wycheproof"), /usr/local/lib/python3.8/dist-packages/Crypto/SelfTest/Cipher/test_pkcs1_oaep.py:431: UserWarning: Warning: skipping extended tests for Wycheproof PKCS#1 OAEP (rsa_oaep_3072_sha512_mgf1sha1_test.json) result = load_test_vectors_wycheproof(("Cipher", "wycheproof"), /usr/local/lib/python3.8/dist-packages/Crypto/SelfTest/Cipher/test_pkcs1_oaep.py:431: UserWarning: Warning: skipping extended tests for Wycheproof PKCS#1 OAEP (rsa_oaep_3072_sha512_mgf1sha512_test.json) result = load_test_vectors_wycheproof(("Cipher", "wycheproof"), /usr/local/lib/python3.8/dist-packages/Crypto/SelfTest/Cipher/test_pkcs1_oaep.py:431: UserWarning: Warning: skipping extended tests for Wycheproof PKCS#1 OAEP (rsa_oaep_4096_sha256_mgf1sha1_test.json) result = load_test_vectors_wycheproof(("Cipher", "wycheproof"), /usr/local/lib/python3.8/dist-packages/Crypto/SelfTest/Cipher/test_pkcs1_oaep.py:431: UserWarning: Warning: skipping extended tests for Wycheproof PKCS#1 OAEP (rsa_oaep_4096_sha256_mgf1sha256_test.json) result = load_test_vectors_wycheproof(("Cipher", "wycheproof"), /usr/local/lib/python3.8/dist-packages/Crypto/SelfTest/Cipher/test_pkcs1_oaep.py:431: UserWarning: Warning: skipping extended tests for Wycheproof PKCS#1 OAEP (rsa_oaep_4096_sha512_mgf1sha1_test.json) result = load_test_vectors_wycheproof(("Cipher", "wycheproof"), /usr/local/lib/python3.8/dist-packages/Crypto/SelfTest/Cipher/test_pkcs1_oaep.py:431: UserWarning: Warning: skipping extended tests for Wycheproof PKCS#1 OAEP (rsa_oaep_4096_sha512_mgf1sha512_test.json) result = load_test_vectors_wycheproof(("Cipher", "wycheproof"), /usr/local/lib/python3.8/dist-packages/Crypto/SelfTest/Cipher/test_pkcs1_oaep.py:431: UserWarning: Warning: skipping extended tests for Wycheproof PKCS#1 OAEP (rsa_oaep_misc_test.json) result = load_test_vectors_wycheproof(("Cipher", "wycheproof"), ......................................................./usr/local/lib/python3.8/dist-packages/Crypto/SelfTest/Cipher/test_CBC.py:316: UserWarning: Warning: skipping extended tests for AES CBC KAT test_vectors = load_test_vectors(("Cipher", "AES"), ....../usr/local/lib/python3.8/dist-packages/Crypto/SelfTest/Cipher/test_CBC.py:344: UserWarning: Warning: skipping extended tests for AES CBC Montecarlo test_vectors = load_test_vectors(("Cipher", "AES"), ............/usr/local/lib/python3.8/dist-packages/Crypto/SelfTest/Cipher/test_CBC.py:379: UserWarning: Warning: skipping extended tests for TDES CBC KAT test_vectors = load_test_vectors(("Cipher", "TDES"), ................................./usr/local/lib/python3.8/dist-packages/Crypto/SelfTest/Cipher/test_CFB.py:106: UserWarning: Warning: skipping extended tests for AES CFB128 KAT test_vectors = load_test_vectors(("Cipher", "AES"), ....../usr/local/lib/python3.8/dist-packages/Crypto/SelfTest/Cipher/test_CFB.py:134: UserWarning: Warning: skipping extended tests for AES CFB128 Montecarlo test_vectors = load_test_vectors(("Cipher", "AES"), ............/usr/local/lib/python3.8/dist-packages/Crypto/SelfTest/Cipher/test_CFB.py:106: UserWarning: Warning: skipping extended tests for AES CFB8 KAT test_vectors = load_test_vectors(("Cipher", "AES"), ....../usr/local/lib/python3.8/dist-packages/Crypto/SelfTest/Cipher/test_CFB.py:134: UserWarning: Warning: skipping extended tests for AES CFB8 Montecarlo test_vectors = load_test_vectors(("Cipher", "AES"), ............/usr/local/lib/python3.8/dist-packages/Crypto/SelfTest/Cipher/test_CFB.py:185: UserWarning: Warning: skipping extended tests for TDES CFB64 KAT test_vectors = load_test_vectors(("Cipher", "TDES"), ........................................................................................................E........................................./usr/local/lib/python3.8/dist-packages/Crypto/SelfTest/Cipher/test_CCM.py:837: UserWarning: Warning: skipping extended tests for Wycheproof AES CCM self.tv = load_test_vectors_wycheproof(("Cipher", "wycheproof"), .EEEEEEEEEEEEEEE.EEEEEEEEEEEEEEEEE/usr/local/lib/python3.8/dist-packages/Crypto/SelfTest/Cipher/test_EAX.py:659: UserWarning: Warning: skipping extended tests for Wycheproof EAX self.tv = load_test_vectors_wycheproof(("Cipher", "wycheproof"), .EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE.............................../usr/local/lib/python3.8/dist-packages/Crypto/SelfTest/Cipher/test_GCM.py:830: UserWarning: Warning: skipping extended tests for Wycheproof GCM self.tv = load_test_vectors_wycheproof(("Cipher", "wycheproof"), ...E.E.E.E.EEEEE.E.EEE...EEE....E/usr/local/lib/python3.8/dist-packages/Crypto/SelfTest/Cipher/test_SIV.py:457: UserWarning: Warning: skipping extended tests for Wycheproof AES SIV self.tv = load_test_vectors_wycheproof(("Cipher", "wycheproof"), ./usr/local/lib/python3.8/dist-packages/Crypto/SelfTest/Cipher/test_SIV.py:500: UserWarning: Warning: skipping extended tests for Wycheproof AEAD SIV self.tv = load_test_vectors_wycheproof(("Cipher", "wycheproof"), ................EEEEEEEEEEEEEEEE............E.E.EEEEEEEEEEEEEEEEEEEEEEEE/usr/local/lib/python3.8/dist-packages/Crypto/SelfTest/Hash/test_CMAC.py:373: UserWarning: Warning: skipping extended tests for Wycheproof CMAC self.tv = load_test_vectors_wycheproof(("Hash", "wycheproof"), .EEEEEEEEEEEEEEEEEEEEEE..............EEEEEEEEEEEEE.......EEEEEEEEEEE......................................EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE............./usr/local/lib/python3.8/dist-packages/Crypto/SelfTest/Hash/test_BLAKE2.py:305: UserWarning: Warning: skipping extended tests for BLAKE2b warnings.warn("Warning: skipping extended tests for %s" % self.name, ./usr/local/lib/python3.8/dist-packages/Crypto/SelfTest/Hash/test_BLAKE2.py:363: UserWarning: Warning: skipping extended tests for BLAKE2b warnings.warn("Warning: skipping extended tests for %s" % self.name, .............../usr/local/lib/python3.8/dist-packages/Crypto/SelfTest/Hash/test_BLAKE2.py:305: UserWarning: Warning: skipping extended tests for BLAKE2s warnings.warn("Warning: skipping extended tests for %s" % self.name, ./usr/local/lib/python3.8/dist-packages/Crypto/SelfTest/Hash/test_BLAKE2.py:363: UserWarning: Warning: skipping extended tests for BLAKE2s warnings.warn("Warning: skipping extended tests for %s" % self.name, .............................................E.E.EEE./usr/local/lib/python3.8/dist-packages/Crypto/SelfTest/Protocol/test_KDF.py:670: UserWarning: Warning: skipping extended tests for Wycheproof HMAC (hkdf_sha1_test.json) result = load_test_vectors_wycheproof(("Protocol", "wycheproof"), /usr/local/lib/python3.8/dist-packages/Crypto/SelfTest/Protocol/test_KDF.py:670: UserWarning: Warning: skipping extended tests for Wycheproof HMAC (hkdf_sha256_test.json) result = load_test_vectors_wycheproof(("Protocol", "wycheproof"), /usr/local/lib/python3.8/dist-packages/Crypto/SelfTest/Protocol/test_KDF.py:670: UserWarning: Warning: skipping extended tests for Wycheproof HMAC (hkdf_sha384_test.json) result = load_test_vectors_wycheproof(("Protocol", "wycheproof"), /usr/local/lib/python3.8/dist-packages/Crypto/SelfTest/Protocol/test_KDF.py:670: UserWarning: Warning: skipping extended tests for Wycheproof HMAC (hkdf_sha512_test.json) result = load_test_vectors_wycheproof(("Protocol", "wycheproof"), .EE..........................EE..E...................................................................................................................................../usr/local/lib/python3.8/dist-packages/Crypto/SelfTest/PublicKey/test_import_RSA.py:544: UserWarning: Warning: skipping extended tests for RSA key_file = load_file("rsa2048_private_openssh.pem") /usr/local/lib/python3.8/dist-packages/Crypto/SelfTest/PublicKey/test_import_RSA.py:545: UserWarning: Warning: skipping extended tests for RSA key_file_old = load_file("rsa2048_private_openssh_old.pem") ./usr/local/lib/python3.8/dist-packages/Crypto/SelfTest/PublicKey/test_import_RSA.py:557: UserWarning: Warning: skipping extended tests for RSA key_file = load_file("rsa2048_private_openssh_pwd.pem") /usr/local/lib/python3.8/dist-packages/Crypto/SelfTest/PublicKey/test_import_RSA.py:558: UserWarning: Warning: skipping extended tests for RSA key_file_old = load_file("rsa2048_private_openssh_pwd_old.pem") ./usr/local/lib/python3.8/dist-packages/Crypto/SelfTest/PublicKey/test_import_RSA.py:532: UserWarning: Warning: skipping extended tests for RSA key_file_ref = load_file("rsa2048_private.pem") /usr/local/lib/python3.8/dist-packages/Crypto/SelfTest/PublicKey/test_import_RSA.py:533: UserWarning: Warning: skipping extended tests for RSA key_file = load_file("rsa2048_public_openssh.txt") .........................................python3: src/strxor.c:45: xor_strings: Assertion
src_a + n > src_a' failed. Aborted (core dumped)
My details:
uname -ar
Linux eleserv 5.4.0-72-generic #80-Ubuntu SMP Mon Apr 12 17:35:00 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
and:
Python 3.8.5 (default, Jan 27 2021, 15:41:15) [GCC 9.3.0] on linux
I have checked out the latest codebase:
python3 -m pip install git+https://github.com/Legrandin/pycryptodome
Please let me know if I need to furnish any more info.
==========
I also had an another question (my apologies if this is the wrong place for it): is it possible to encrypt a string using an ASC key pair and passphrase without actually importing the keys into gnupg?