Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test Failed because of gpg #472

Open
Bot-wxt1221 opened this issue Dec 27, 2024 · 0 comments
Open

Test Failed because of gpg #472

Bot-wxt1221 opened this issue Dec 27, 2024 · 0 comments

Comments

@Bot-wxt1221
Copy link

Bot-wxt1221 commented Dec 27, 2024

In tests/test_10_exceptions.py, the key was 512-bit long. However, gpg has removed the support the 512-bit so it should be changed to 1024.

https://cache.nixos.org/log/xzicc1jxmnyhbl3s5d9jm52z9qxzmx67-python3.12-pgpy-0.6.0.drv

ERROR tests/test_10_exceptions.py::TestPGPKey::test_add_subkey_to_pubkey - ValueError: key_size must be at least 1024-bits.
ERROR tests/test_10_exceptions.py::TestPGPKey::test_add_pubsubkey_to_key - ValueError: key_size must be at least 1024-bits.
ERROR tests/test_10_exceptions.py::TestPGPKey::test_add_key_with_subkeys_as_subkey - ValueError: key_size must be at least 1024-bits.
FAILED tests/test_10_exceptions.py::TestPGPKey::test_new_key_deprecated_rsa_alg[RSAEncrypt] - ValueError: key_size must be at least 1024-bits.
FAILED tests/test_10_exceptions.py::TestPGPKey::test_new_key_deprecated_rsa_alg[RSASign] - ValueError: key_size must be at least 1024-bits.
@Bot-wxt1221 Bot-wxt1221 changed the title Test Failed Test Failed because of gpg Dec 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant