On Sat, 9 Feb 2019 11:20, [email protected] said: > I am looking for a simple solution just like `gpg --send-keys`, but for WKD.
Locate the gpg-wks-client binary. On Windows it should be found via
$PATH but on Unix it is installed at one of this locations
/usr/local/libexec/gpg-wks-client
/usr/local/lib/gpg-wks-client
/usr/libexec/gpg-wks-client
/usr/lib/gpg-wks-client
On Unix you can also invoke it directly using:
$(gpgconf --list-dirs libexecdir)/gpg-wks-client
To create a publishing request use
gpg-wks-client --create --send FINGERPRINT USERID
For example with my key
$(gpgconf --list-dirs libexecdir)/gpg-wks-client \
--create --send AEA84EDCF01AD86C4701C85C63113AE866587D0A [email protected]
Which sends the request using the usual sendmail stub. If you don't
have this installed, don't use --send in which case the command creates
a mail which somehow needs to be send off.
With this in your /etc/mailcap
--8<---------------cut here---------------start------------->8---
application/vnd.gnupg.wks; /usr/local/libexec/gpg-wks-client \
-v --read --send; needsterminal; description=WKS message
--8<---------------cut here---------------end--------------->8---
you can then easily process the incoming challenge from the server if
you use a MUA which support mailcap (Mutt, Gnus, and probably many
more).
Shalom-Salam,
Werner
--
Die Gedanken sind frei. Ausnahmen regelt ein Bundesgesetz.
signature.asc
Description: PGP signature
_______________________________________________ Gnupg-users mailing list [email protected] http://lists.gnupg.org/mailman/listinfo/gnupg-users
