For my case, with $GNUPGHOME/gpg-agent.conf having debug-all, I observed that rsa_decrypt failes with 'Cannot allocate memory', after debug output of 'res'.
Reading libgcrypt/cipher/rsa.c, it is line 1439, where it calls sexp_build (MPI of PLAIN into SEXP of R_PLAIN).
I think that it does indeed memory failure here.
Having "auto-expand-secmem" in gpg-agent.conf, it goes well.
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Advanced Search
Dec 12 2018
Dec 11 2018
Dec 10 2018
Dec 6 2018
I decided not to backport UIF things.
Other fixes (KDF and memory leak) were done.
If this decision will be re-evaluated, remember the backport of the commit rG05d163aebc04: scd: Make "learn" report about KDF data object. doesn't have UIF change.
Perhaps, the changes for UIF (user interaction flag) is not needed to be backported now.
Because the feature is not yet used by any OpenPGP card implementation.
I am testing with Gnuk, but it's still experimental even for Gnuk.
Dec 5 2018
Dec 4 2018
Nov 28 2018
Nov 27 2018
Nov 26 2018
Nov 15 2018
Nov 14 2018
Nov 13 2018
Nov 12 2018
Nov 8 2018
So far, so good.
Nov 7 2018
I think that it's good to rewrite enum_secret_keys in g10/skclist.c.
The bug is gone by rG79f165d7a8bc: gpg: Make --skip-hidden-recipients work again..
Nov 6 2018
Here are warnings:
If we can assume C99, we have the type.
I know, it is not guaranteed to be enough size. For particular host (Windows 64-bit), it works.
Nov 2 2018
To avoid the drawback, we can put the logic of locating possible libdir in gpg-error.m4, instead of putting in the script.
Nov 1 2018
Oct 31 2018
Oct 30 2018
Oct 29 2018
IIUC, in Gentoo multilib (or other distributions), <triplent>-{gpg-error,libgcrypt,libassuan,npth,libksba,npth}-config script is used.
In forthcoming libgpg-error 1.33, single gpgrt-config is used for all architecture, by having --libdir option at invocation time.
New gpg-error.m4 detects gpgrt-config, too.
And configure supplies --libdir when it invokes gpgrt-config.
For other *.m4 (libassuan, ksba, libgcrypt, ntbtls), it is possible for them to check GPGRT_CONFIG to use gpgrt-config if any.
For npth.m4, it can do that too, with no hard dependency to libgpg-error.
I decided to change gpgrt-config to have --libdir option.
By supplying libdir directly, it's no need anymore to detect the directory by CC variable.
gpg-error.m4 is also updated.