diff --git a/src/password_manager/password_generation.py b/src/password_manager/password_generation.py index d312d72..5b80e37 100644 --- a/src/password_manager/password_generation.py +++ b/src/password_manager/password_generation.py @@ -452,11 +452,11 @@ def derive_pgp_key( uid = PGPUID.new(user_id) key.add_uid( uid, - usage={ + usage=[ KeyFlags.Sign, KeyFlags.EncryptCommunications, KeyFlags.EncryptStorage, - }, + ], hashes=[HashAlgorithm.SHA256], ciphers=[SymmetricKeyAlgorithm.AES256], compression=[CompressionAlgorithm.ZLIB],