Automated Batch Subkey Creation

Werner Koch wk at
Fri Sep 12 17:15:59 CEST 2014

On Fri, 12 Sep 2014 15:03, emunch at said:

> How can I automate the creation of a sub-key?

You use 

  gpg --command-fd N --status-fd M --with-colons --key-edit MAINKEY

and write a state machine to reply on the requests from --status-fd with
data on --commands-fd.  You may also use gpgme's support for this.  If
you need a example, you may want to check out the GPA code.



Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.

More information about the Gnupg-users mailing list