crypto/openpgp
Filippo Valsorda 374053ea96 openpgp/packet: improve handling of short MPIs for RSA values
MPIs are (supposed to be) stripped of leading zeroes. Avoid passing
such short values into crypto/rsa, even if it currently happens to work.

Change-Id: I5a5f4813b8358e83fcc2deeda1272d2733814542
Reviewed-on: https://go-review.googlesource.com/100844
Reviewed-by: Adam Langley <agl@golang.org>
2018-03-16 18:01:49 +00:00
..
armor crypto: add import comments. 2014-12-09 23:26:36 +00:00
clearsign openpgp/clearsign: Handle truncated messages 2016-03-10 22:05:46 +00:00
elgamal crypto: add import comments. 2014-12-09 23:26:36 +00:00
errors crypto: add import comments. 2014-12-09 23:26:36 +00:00
packet openpgp/packet: improve handling of short MPIs for RSA values 2018-03-16 18:01:49 +00:00
s2k x/crypto/openpgp/s2k: fix misleading function comment 2016-05-04 14:33:35 +00:00
canonical_text.go go.crypto: initial code 2012-01-25 15:31:12 -05:00
canonical_text_test.go go.crypto: initial code 2012-01-25 15:31:12 -05:00
keys.go openpgp: allow NewEntity to specify the default cipher 2018-02-14 00:00:28 +00:00
keys_test.go openpgp: allow NewEntity to specify the default cipher 2018-02-14 00:00:28 +00:00
read.go openpgp: fix a typo in a comment 2016-09-28 22:09:27 +00:00
read_test.go openpgp: Allow V3 signatures in messages 2016-04-06 04:37:51 +00:00
write.go x/crypto: fix typos 2016-07-06 16:40:51 +00:00
write_test.go all: fix some vet warnings 2017-01-04 23:09:04 +00:00