]> git.saurik.com Git - apt.git/commitdiff
alias apt-key list to finger
authorDavid Kalnischkies <david@kalnischkies.de>
Fri, 1 Jul 2016 14:40:36 +0000 (16:40 +0200)
committerDavid Kalnischkies <david@kalnischkies.de>
Fri, 1 Jul 2016 14:40:36 +0000 (16:40 +0200)
There is no real point in having two commands which roughly do the same
thing, especially if the difference is just in the display of the
fingerprint and hence security sensitive information.

Closes: 829232
cmdline/apt-key.in
doc/apt-key.8.xml

index 7c12c72a309332fd40cc03ef9ff63581351f2217..5bd8d1249a1bc1ee9bae53d179b883c0bfdf3e5c 100644 (file)
@@ -583,10 +583,7 @@ case "$command" in
        net_update
        merge_back_changes
        ;;
-    list)
-       foreach_keyring_do 'run_cmd_on_keyring' --list-keys "$@"
-       ;;
-    finger*)
+    list|finger*)
        foreach_keyring_do 'run_cmd_on_keyring' --fingerprint "$@"
        ;;
     export|exportall)
index b5319efa3ab4691ea4d9a744db02e5940fe17325..a847060c01fc59a32b1b93f4368e5cff9df908e8 100644 (file)
      </listitem>
      </varlistentry>
 
-     <varlistentry><term><option>list</option></term>
+     <varlistentry><term><option>list</option>, <option>finger</option></term>
      <listitem>
      <para>
 
-       List trusted keys.
+       List trusted keys with fingerprints.
 
      </para>
 
      </listitem>
      </varlistentry>
-     
-     <varlistentry><term><option>finger</option></term>
-     <listitem>
-     <para>
 
-     List fingerprints of trusted keys.
-
-     </para>
-
-     </listitem>
-     </varlistentry>
-     
      <varlistentry><term><option>adv</option></term>
      <listitem>
      <para>