mirror of
https://github.com/PR0M3TH3AN/SeedPass.git
synced 2025-09-08 23:38:49 +00:00
Fix PGP key determinism on all platforms
This commit is contained in:
@@ -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],
|
||||
|
Reference in New Issue
Block a user