1
0
mirror of https://github.com/golang/go synced 2024-11-25 21:47:59 -07:00
go/src
Adam Langley 22690e6621 crypto/rsa: only enforce that de ≡ 1 mod |(ℤ/nℤ)*| in order to load private keys generated by GnuTLS.
Previously we checked that de ≡ 1 mod φ(n). Since φ(n) is a multiple
of |(ℤ/nℤ)*|, this encompassed the new check, but it was too strict as
keys generated by GnuTLS would be rejected when gcd(p-1,q-1)≠1.

(Also updated the error strings in crypto/rsa to contain the package name, which some were missing.)

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/5867043
2012-04-04 12:53:59 -04:00
..
cmd cmd/go: in go get, don't try to perform discovery on non-hosts 2012-04-04 07:24:13 -07:00
lib9 all: remove some references to Make.inc etc. 2012-03-07 13:51:49 +11:00
libbio build: delete make paraphernalia 2012-02-06 13:34:25 -05:00
libmach runtime/pprof: support OS X CPU profiling 2012-02-28 16:18:24 -05:00
pkg crypto/rsa: only enforce that de ≡ 1 mod |(ℤ/nℤ)*| in order to load private keys generated by GnuTLS. 2012-04-04 12:53:59 -04:00
all.bash cmd/dist: cross-compiling fixes 2012-02-13 22:31:51 -05:00
all.bat build: use setlocal in run.bat 2012-02-16 10:44:55 +11:00
clean.bash build: fix clean.bash 2012-02-15 23:52:07 +09:00
clean.bat build: implement clean.bat 2012-02-20 12:17:27 +11:00
make.bash build: do more during windows build 2012-03-20 14:04:20 +11:00
make.bat build: do more during windows build 2012-03-20 14:04:20 +11:00
Make.dist cmd/dist: make 'make' quieter for developers 2012-02-08 15:26:47 -05:00
run.bash build: unset GOROOT_FINAL before tests 2012-04-04 23:14:54 +08:00
run.bat build: unset GOROOT_FINAL before tests 2012-04-04 23:14:54 +08:00
sudo.bash cmd/dist, sudo.bash: don't mention sudo.bash if cov or prof is not present 2012-04-02 22:33:38 +08:00