[Pkg-sks-commit] r72 - sks/trunk/sks/debian/patches
chrism at alioth.debian.org
chrism at alioth.debian.org
Thu Jun 19 14:50:17 UTC 2008
Author: chrism
Date: 2008-06-19 14:50:17 +0000 (Thu, 19 Jun 2008)
New Revision: 72
Modified:
sks/trunk/sks/debian/patches/504_key_types
Log:
[project @ 73]
Add it to verbose index output as well
Original author: weasel
Date: 2003-12-06 23:50:34.861890+00:00
Modified: sks/trunk/sks/debian/patches/504_key_types
===================================================================
--- sks/trunk/sks/debian/patches/504_key_types 2008-06-19 14:49:57 UTC (rev 71)
+++ sks/trunk/sks/debian/patches/504_key_types 2008-06-19 14:50:17 UTC (rev 72)
@@ -21,3 +21,25 @@
(1900 + tm.tm_year)
(tm.tm_mon + 1)
tm.tm_mday
+--- sks-1.0.6/index.ml.orig 2003-12-07 00:45:02.000000000 +0100
++++ sks-1.0.6/index.ml 2003-12-07 00:45:29.000000000 +0100
+@@ -345,8 +345,18 @@
+ ~port:http_port ~keyid:keyid_long )
+ keyid_short
+ in
+- let line = sprintf "%s %4d/%s %s %s "
++ let algo = match pki.pk_alg with
++ 1 -> "R" (* RSA sign and encrypt *)
++ | 2 -> "r" (* RSA encrypt *)
++ | 3 -> "s" (* RSA sign *)
++ | 16 -> "g" (* ElGamal encrypt *)
++ | 20 -> "G" (* ElGamal sign and encrypt *)
++ | 17 -> "D" (* DSA *)
++ | _ -> "?" (* NoClue *)
++ in
++ let line = sprintf "%s %4d%s/%s %s %s "
+ prefix
+ pki.pk_keylen
++ algo
+ keyid_string
+ creation_string expiration_string
More information about the Pkg-sks-commit
mailing list