aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2000-09-18 14:35:34 +0000
committerWerner Koch <[email protected]>2000-09-18 14:35:34 +0000
commit986d928ce2a561b04fda7730de6a94f9b1e703d6 (patch)
tree9d815bcf427ee76f678153f4b000d8843816a2bd /tools
parentSee ChangeLog: Tue Aug 22 14:31:15 CEST 2000 Werner Koch (diff)
downloadgnupg-986d928ce2a561b04fda7730de6a94f9b1e703d6.tar.gz
gnupg-986d928ce2a561b04fda7730de6a94f9b1e703d6.zip
See ChangeLog: Mon Sep 18 16:35:45 CEST 2000 Werner Koch
Diffstat (limited to 'tools')
-rw-r--r--tools/ChangeLog5
-rwxr-xr-xtools/ring-a-party10
2 files changed, 13 insertions, 2 deletions
diff --git a/tools/ChangeLog b/tools/ChangeLog
index 79bba89f2..136caf56b 100644
--- a/tools/ChangeLog
+++ b/tools/ChangeLog
@@ -1,3 +1,8 @@
+Mon Sep 18 16:35:45 CEST 2000 Werner Koch <[email protected]>
+
+ * ring-a-party: substr starts at offset 1 not 0. Many thanks to Mike
+ for finding this bug. Flush the last key.
+
Mon Jul 17 16:35:47 CEST 2000 Werner Koch <wk@>
* mail-signed-keys: New.
diff --git a/tools/ring-a-party b/tools/ring-a-party
index 561b51336..7cf05d78d 100755
--- a/tools/ring-a-party
+++ b/tools/ring-a-party
@@ -31,6 +31,9 @@ BEGIN { FS=":"
page = 0;
now = strftime("%b %d %H:%M %Y");
}
+END {
+ if (any) myflush();
+}
$1 == "pub" {
if( any ) myflush();
uidcount = 0;
@@ -84,7 +87,7 @@ function printfpr16( s )
printf "f16 Fingerprint16 =";
for(i=0; i < 16; i++ ) {
if( i == 8 ) printf " ";
- printf " %s", substr( s, i*2, 2 );
+ printf " %s", substr( s, i*2+1, 2 );
}
printf "\n"
}
@@ -94,10 +97,13 @@ function printfpr20( s )
printf "f20 Fingerprint20 =";
for(i=0; i < 10; i++ ) {
if( i == 5 ) printf " ";
- printf " %s", substr( s, i*4, 4 );
+ printf " %s", substr( s, i*4+1, 4 );
}
printf "\n"
}
' | tee a.pub | gpg --print-mds
+
+
+