mirror of
https://github.com/PR0M3TH3AN/SeedPass.git
synced 2026-11-05 20:32:05 +00:00
Fix PGP key determinism on all platforms
This commit is contained in:
1 parent
435b7f363e
commit
51f907cbb0
1 file changed
+2
-2
@@ -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