Skip to content

Test Failed because of gpg #472

@Bot-wxt1221

Description

@Bot-wxt1221

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions