diff -r 8392577a953b src/pkg/crypto/openpgp/packet/packet.go
--- a/src/pkg/crypto/openpgp/packet/packet.go	Wed Mar 09 10:24:50 2011 -0800
+++ b/src/pkg/crypto/openpgp/packet/packet.go	Thu Mar 10 13:29:09 2011 +0100
@@ -178,7 +178,7 @@
 		n = 2
 	} else if length < 8384 {
 		length -= 192
-		buf[1] = byte(length >> 8)
+		buf[1] = 192 + byte(length >> 8)
 		buf[2] = byte(length)
 		n = 3
 	} else {
