- src/engine-gpgconf.c (gpgconf_parse_option): Don't split strings on comma.
-- This only affects values where the main type is string. Values with the alt_type string but another main type are still split to keep lists (e.g. groups) working.
Details
- Reviewers
• werner
Checked with t-gpgconf that a group value is still a list and the default_pubkey_algo is ok
Diff Detail
- Repository
- rM GPGME
- Branch
- master
- Lint
No Linters Available - Unit
No Unit Test Coverage
Event Timeline
Changing gpg or gpgconf is wrong. A string list is indicated by flag value 2 which is not set for that option and thus we do not have a string list.
There might be a bug in gpgme, though.
Still wrong package. You need to address this in gpgme/src/engine-gpgconf.c.
Minor correction: the value of the flag is 1^2.
Ping. Is this patch ok? I'm pretty sure it is and I've included it in Gpg4win but before I can push the default_pubkey_algo respecting change to Kleopatra I need this to work in GPGME.
I've accidentally pushed this commit. But I'm very sure it's Ok anyway and pretty trivial. And it's been over a month to object. I really need this patch to get keygen working with default_pubkey_algo in kleopatra. It was also included in the last gpg4win betas.