Casey Marshall 2da167fbbe openpgp: improve parser resilience & flexibility, add PublicKey.BitLength()
These are improvements I've made as necessary to develop Hockeypuck,
an OpenPGP keyserver (https://launchpad.net/hockeypuck).

The max armor line length was increased to 96 because some keyservers (SKS)
will output armor with lines greater than 64 (the prior max).

I've exposed packet.ReadEntity to support stream-parsing, useful for
large SKS dump files.

ReadKeyRing attempts to recover in the event of malformed data.

Because many packet types are not yet supported, I added OpaquePacket to
capture unsupported types for offline storage and later reparsing.

R=agl
CC=golang-dev
https://golang.org/cl/6927044
2012-12-15 14:30:05 -05:00
2012-12-15 14:19:17 +09:00
2012-12-10 11:00:48 -05:00
2012-12-10 11:00:48 -05:00
2012-01-25 15:31:12 -05:00
2012-09-09 11:18:00 -04:00
2012-10-17 14:58:16 -04:00
2012-02-01 14:20:27 -05:00
2012-01-25 15:31:12 -05:00
2012-12-15 14:19:17 +09:00
2012-12-15 14:19:17 +09:00
2012-12-10 11:00:48 -05:00
2012-12-10 11:00:48 -05:00
2012-07-12 11:14:12 -04:00
2012-03-17 15:19:30 +11:00
2012-01-25 15:31:12 -05:00

This repository holds supplementary Go cryptography libraries.

To submit changes to this repository, see http://golang.org/doc/contribute.html.
S
Description
Mirror of ys-ll/crypto (GitHub), kept for paraterm builds
https://golang.org/x/crypto
Readme BSD-3-Clause
8.1 MiB
Languages
Go 88.6%
Assembly 11.1%
C 0.3%