We have secmem routines in libgcrypt now. Targeting libgcrypt 1.9, it is better move those functions to libgpg-error.
Description
Description
Details
Details
- Due Date
- Apr 30 2018, 5:00 PM
Event Timeline
Comment Actions
I created gniibe/secmem branch for this.
https://dev.gnupg.org/source/libgpg-error/history/gniibe%252Fsecmem/
Comment Actions
secmem routines are installed into gniibe/secmem branch.
Please note that it's only secmem routines, not malloc_secure.
Now, I wonder the original intention.
Do we intend to have malloc_secure in gpgrt?
Do we need to expose the secmem routines, as a public interface of gpgrt?
Comment Actions
I would find it useful. For example I'm making a utility that gets a passphrase with GPGME and gpg-agent, and would like to copy it into a buffer that lives on after closing the context.