On Tue, 30 Jul 2013 04:42, hhhob...@securemecca.net said:

>>From what the man pages say, no.  You can delete keys and there
> is experimental key creation with notes in the doc/DETAILS of

With gpg2 you can do:

  gpg2 --passwd KEYID

Of course it will use the pinentry to ask for the old an new passphrase.
You may use a pinentry wrapper as usual or with 2.1-beta the pinentry
loopback mode.

GPGME has 

  /* Change the passphrase for KEY.  FLAGS is reserved for future use
     and must be passed as 0.  This is the synchronous variant.  */
  gpgme_error_t
  gpgme_op_passwd (gpgme_ctx_t ctx, gpgme_key_t key, unsigned int flags);

this convenience function.


Shalom-Salam,

   Werner

-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.


_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users

Reply via email to