Home GnuPG
Diffusion GPGME cc353701b0fd

core: New function gpgme_op_createsubkey.
cc353701b0fdUnpublished

Unpublished Commit · Learn More

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

Description

core: New function gpgme_op_createsubkey.

* src/genkey.c (createsubkey_start): New.
(gpgme_op_createsubkey_start, gpgme_op_createsubkey): New.
* src/gpgme.def, src/libgpgme.vers: Add them.
* src/engine-gpg.c (gpg_createkey): Factor some code out to ...
(gpg_add_algo_usage_expire): new.
(gpg_addkey): Implement.
* tests/run-genkey.c: Add option --addkey.
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Sep 14 2016, 9:51 AM
Parents
rM51f9acbca935: core: Use const char * where appropriate.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rMcc353701b0fd: core: New function gpgme_op_createsubkey. (authored by Werner Koch <wk@gnupg.org>).Sep 14 2016, 9:51 AM