aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/crypto/openpgp/read_test.go
AgeCommit message (Collapse)Author
2012-01-25build: remove code now in subrepositoriesRuss Cox
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5569064
2012-01-24crypto: rename some FooError to ErrFooBrad Fitzpatrick
Also, add an explicit error type when the right hand side is an unexported function. R=golang-dev, gri, rogpeppe, agl, rsc CC=golang-dev https://golang.org/cl/5564048
2012-01-11crypto/openpgp: assorted cleanupsAdam Langley
1) Include Szabolcs Nagy's patch which adds serialisation for more signature subpackets. 2) Include Szabolcs Nagy's patch which adds functions for making DSA keys. 3) Make the random io.Reader an argument to the low-level signature functions rather than having them use crypto/rand. 4) Rename crypto/openpgp/error to crypto/openpgp/errors so that it doesn't clash with the new error type. R=bradfitz, r CC=golang-dev https://golang.org/cl/5528044
2012-01-09crypto/openpgp: truncate hashes before checking DSA signatures.Adam Langley
I didn't believe that OpenPGP allowed > SHA-1 with DSA, but it does and so we need to perform hash truncation. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5510044
2011-11-01src/pkg/[a-m]*: gofix -r error -force=errorRuss Cox
R=golang-dev, iant CC=golang-dev https://golang.org/cl/5322051
2011-07-01crypto/openpgp: add ability to reserialize keys.Adam Langley
This changes Signature so that parsed signatures can be reserialized exactly. With this ability we can add Serialize to Entity and also the ability to sign other public keys. R=bradfitz CC=golang-dev https://golang.org/cl/4627084
2011-06-21crypto/openpgp: add ElGamal support.Adam Langley
R=bradfitz, r CC=golang-dev https://golang.org/cl/4639049
2011-05-18pkg: spelling tweaks, A-HRobert Hencke
R=ality, bradfitz, rsc, dsymonds, adg, qyzhai, dchest CC=golang-dev https://golang.org/cl/4536063
2011-04-19crypto/openpgp: better handling of keyrings.Adam Langley
* Accept armored private key blocks * If an armored block is missing, return an InvalidArgumentError, rather than ignoring it. * If every key in a block is skipped due to being unsupported, return the last unsupported error. * Include the numeric type of unsupported public keys. * Don't assume that the self-signature comes immediately after the user id packet. R=bradfitzgo CC=golang-dev https://golang.org/cl/4434048
2011-03-16crypto/openpgp: add DSA signature support.Adam Langley
R=bradfitzgo, nsz CC=golang-dev https://golang.org/cl/4280041
2011-02-25crypto/openpgp: fix test printsRob Pike
R=agl, agl1 CC=golang-dev https://golang.org/cl/4255041
2011-02-24crypto/openpgp: add packageAdam Langley
R=bradfitzgo CC=golang-dev https://golang.org/cl/3989052