Permalink
Browse files

Catching up to 2290bis-03.

  • Loading branch information...
1 parent 204b17c commit d8711970b8650228e86f31eabcb965f5d5c53f38 @kazu-yamamoto committed Feb 19, 2010
Showing with 21 additions and 16 deletions.
  1. +4 −0 CHANGES
  2. +0 −2 README
  3. +10 −10 packet.c
  4. +1 −1 pgpdump.c
  5. +2 −2 signature.c
  6. +4 −1 types.c
View
@@ -1,5 +1,9 @@
Change Log
+0.14 2001/11/09
+
+* Catching up to 2290bis-03.
+
0.13 2001/10/24
* Workaround for minus date.
View
2 README
@@ -82,5 +82,3 @@ The official home page of pgpdump is:
- pgpdump assumes that a compressed packet continues until
the end of the specified file.
- - Some packets produced by GnuPG can't be parsed since their
- spec is not available.
View
@@ -34,11 +34,11 @@ TAG[TAG_NUM] = {
"Trust Packet",
"User ID Packet",
"Public Subkey Packet",
- "Symmetrically Encrypted and MDC Packet", /* xxx */
- "Modification Detection Code Packet", /* xxx */
- "unknown", /* xxx PHOTO */
- "Symmetrically Encrypted and MDC Packet", /* xxx GPG */
- "Modification Detection Code Packet", /* xxx GPG */
+ "unknown",
+ "unknown",
+ "unknown",
+ "Symmetrically Encrypted and MDC Packet",
+ "Modification Detection Code Packet",
"unknown",
"unknown",
"unknown",
@@ -102,11 +102,11 @@ private void
Trust_Packet,
User_ID_Packet,
Public_Subkey_Packet,
- NULL, /* xxx */
- NULL, /* xxx */
- NULL, /* xxx */
- Symmetrically_Encrypted_and_MDC_Packet, /* xxx */
- Modification_Detection_Code_Packet, /* xxx */
+ NULL,
+ NULL,
+ NULL,
+ Symmetrically_Encrypted_and_MDC_Packet,
+ Modification_Detection_Code_Packet,
NULL,
NULL,
NULL,
View
@@ -11,7 +11,7 @@ int mflag;
int pflag;
int uflag;
-private char *pgpdump_version = "0.13, Copyright (C) 1998-2001 Kazu Yamamoto";
+private char *pgpdump_version = "0.14, Copyright (C) 1998-2001 Kazu Yamamoto";
private char *prog;
private void usage(void);
View
@@ -30,8 +30,8 @@ signature_multi_precision_integer(int pub, int skip)
break;
case 16:
case 20:
- multi_precision_integer("ElGamal ?");
- multi_precision_integer("ElGamal ?");
+ multi_precision_integer("ElGamal a = g^k mod p");
+ multi_precision_integer("ElGamal b = (h - a*x)/k mod p - 1");
break;
case 17:
multi_precision_integer("DSA r");
View
@@ -117,7 +117,7 @@ comp_algs(unsigned int type)
printf("\n");
}
-#define HASH_ALGS_NUM 8
+#define HASH_ALGS_NUM 11
private char *
HASH_ALGS[] = {
"unknown(hash 0)",
@@ -128,6 +128,9 @@ HASH_ALGS[] = {
"MD2(hash 5)",
"TIGER192(hash 6)",
"HAVAL-5-160(hash 7)",
+ "SHA256(hash 8)",
+ "SHA384(hash 9)",
+ "SHA512(hash 10)",
};
public void

0 comments on commit d871197

Please sign in to comment.