mirror of
https://github.com/PR0M3TH3AN/SeedPass.git
synced 2025-09-09 15:58:48 +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)
|
uid = PGPUID.new(user_id)
|
||||||
key.add_uid(
|
key.add_uid(
|
||||||
uid,
|
uid,
|
||||||
usage={
|
usage=[
|
||||||
KeyFlags.Sign,
|
KeyFlags.Sign,
|
||||||
KeyFlags.EncryptCommunications,
|
KeyFlags.EncryptCommunications,
|
||||||
KeyFlags.EncryptStorage,
|
KeyFlags.EncryptStorage,
|
||||||
},
|
],
|
||||||
hashes=[HashAlgorithm.SHA256],
|
hashes=[HashAlgorithm.SHA256],
|
||||||
ciphers=[SymmetricKeyAlgorithm.AES256],
|
ciphers=[SymmetricKeyAlgorithm.AES256],
|
||||||
compression=[CompressionAlgorithm.ZLIB],
|
compression=[CompressionAlgorithm.ZLIB],
|
||||||
|
Reference in New Issue
Block a user