summaryrefslogtreecommitdiffstats
path: root/doc/gpg.sgml
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2004-09-23 15:32:31 +0200
committerWerner Koch <wk@gnupg.org>2004-09-23 15:32:31 +0200
commit42c18de83a8eab8d4da3e4d4193a8750cf8ba6be (patch)
tree1ef5722c3febb23acd01cb49bf266dfd370a6047 /doc/gpg.sgml
parent* mainproc.c (check_sig_and_print), keyedit.c (show_prefs, (diff)
downloadgnupg2-42c18de83a8eab8d4da3e4d4193a8750cf8ba6be.tar.xz
gnupg2-42c18de83a8eab8d4da3e4d4193a8750cf8ba6be.zip
* gpg.sgml: Document "addcardkey" and "keytocard".
* apdu.c (open_pcsc_reader): Do not print empty reader string. * keygen.c (ask_algo): Allow creation of AUTH keys. * keyid.c (usagestr_from_pk): New. * app-openpgp.c (app_openpgp_storekey): Call flush_cache. * keyedit.c (keyedit_menu): New command "keytocard" (keyedit_menu): Bad hack for the not_with_sk element. (show_key_with_all_names): Print the usage. (find_pk_from_sknode): New. * card-util.c (card_store_subkey): New. (copy_mpi): New. * cardglue.c (agent_openpgp_storekey): New.
Diffstat (limited to 'doc/gpg.sgml')
-rw-r--r--doc/gpg.sgml11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/gpg.sgml b/doc/gpg.sgml
index f5bb0695f..84a957e72 100644
--- a/doc/gpg.sgml
+++ b/doc/gpg.sgml
@@ -415,6 +415,17 @@ Add a subkey to this key.</para></listitem></varlistentry>
Generate a key on a card and add it
to this key.</para></listitem></varlistentry>
<varlistentry>
+ <term>keytocard</term>
+ <listitem><para>
+Transfer the selected secret key (or the primary key if no key has
+been selected) to a smartcard. The secret key in the keyring will be
+replaced by a stub if the key could be stored successfully on the card
+and you use the save command later. Only certain key types may be
+transferred to the card. A sub menu allows you to select on what card
+to store the key. Note that it is not possible to get that key back
+from the card - if the card gets broken your secret key will be lost
+unless you have a backup somewhere.</para></listitem></varlistentry>
+ <varlistentry>
<term>delkey</term>
<listitem><para>
Remove a subkey.</para></listitem></varlistentry>