Home GnuPG
Diffusion GnuPG c913e09ebdbb

agent: Allow key unprotection using AES-256.
c913e09ebdbbUnpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

agent: Allow key unprotection using AES-256.

* agent/protect.c (PROT_CIPHER): Rename to GCRY_CIPHER_AES128 for
clarity.
(do_decryption): Add args prot_cipher and prot_cipher_keylen.  USe
them instead of the hardwired values.
(agent_unprotect): Change to use a table of protection algorithms.
Add AES-256 variant.

This patch will make a possible future key protection algorithm
changes smoother. AES-256 is also allowed although there is currently
no way to encrypt using it.

Details

Provenance
wernerAuthored on Sep 1 2014, 10:15 AM
Parents
rGb6386367aca9: speedo: Fix for non-Windows build of glib.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rGc913e09ebdbb: agent: Allow key unprotection using AES-256. (authored by Werner Koch <wk@gnupg.org>).Sep 1 2014, 10:15 AM