Commit Graph

120 Commits

Author SHA1 Message Date
Juraj Somorovsky c89a32e2ce RSA decryption tests with specific PKCS#1 valid/inalid values (#27)
* RSA decryption tests with specific PKCS#1 valid/inalid values

* Typo (Hopefully nobody noticed this :-/)
2017-02-23 23:19:02 -08:00
quannguyentm e6b88724b3 Disable @SlowTest testWrappedAroundCounter because bazel ignores test annotation (#28)
This is a workaround for #26.
2017-02-21 23:27:34 -08:00
Thai Duong 7dfe46ba87 Typo and style fixes (#25) 2017-02-07 17:01:34 -08:00
Thai Duong 62e1bf0ec4 Fix #23 and #2 (#24) 2017-02-03 11:16:18 -08:00
Peter Dettman fa01b5aeae Updates for release of BouncyCastle 1.56 (#8)
- add maven entry for BC 1.56 and update the versions range
- DHIES weak crypto tests now pass if algs not even supported
- some ECIES entries moved to the invalid list
- ECIES decryption init calls fixed to pass the correct parameters
- EciesTest.testModifyPoint now expects GeneralSecurityException
2017-02-03 10:49:56 -08:00
Thai Duong 06d73e0349 Suppress more warnings, sighed (#22) 2017-02-01 16:19:15 -08:00
Thai Duong 9130b7625f Fix ErrorProne build errors (#21)
* Fix ErrorProne build errors
2017-02-01 16:04:21 -08:00
Thai Duong f2f6a309e2 Set tags=[manual] for *Local test targets, thus exclude them from bazel build ... (#20) 2017-02-01 15:49:11 -08:00
Ange Albertini eef0c4262e typos (#1) 2017-02-01 11:39:49 -08:00
Alex Lau ca5bdb45ba Typo (#14) 2017-02-01 11:15:24 -08:00
Thai Duong 397bfb49f8 Google -> GitHub Sync, 1 Feb 2017 (#19)
* Removing duplicates from BigIntegerTest.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=142548323

* Remove @NoPresubmitCheck from testModifiedPublic() and testModifiedPublicSpec(). The corresponding bug was fixed in BC 1.55 or BC 1.56.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=142561682

* minor typos

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=142743772

* Regenerating the test vectors for ECDSA:
- this adds more comments for bugtypes and modifications or the signatures.
- fixes some ugly formatting.
- adds some additional test vectors.

There are no new bugs.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=144619819

* Regenerating DSA test vectors:
This adds a few more test vectors.
The test vectors are now divided between test vectors with valid BER encodings
and test vectors with invalid DER encodings.
The description of the test vector better describes what was modified.

Also fixing issue #17 on Github: testVectors in DsaTest not using the message parameter

There are no changes to the presubmit tests. Tests that can be enabled because of the
Oracles security update will be added in another CL.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=144814889

* Regenerating test vectors for EcdhTest.java

Merging a test with small order into the test vectors.
Fixing ASN encoding of 0 (from 0200 to 020100, i.e. length must be > 0).

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=144815129

* Regenerating RSA signatures.

Adding test vectors that were removed because of b/31575502. Oracle fixes this with CVE-2016-5547.

Changing ASN tags with value 0x50 to 0x30 (0x50 would be something like sequence of sequence but does not exist), hence the old vectors are unlikely to cause problems.

Adding more modifications of OIDs. The new vectors unpack the OIDs and change the nodes.
(E.g. the OID for sha256 is the hexadecimal string "608648016503040201" which is an
ASN encoding of "2.16.840.1.101.3.4.2.1". The new test vectors include invalid encoding,
encodings with additional nodes, deleted nodes and nodes that are changed to large integers)

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=144846826

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=145060646

* Removing presubmit restrictions for tests that have been fixed internally and upstream.
Mainly these are tests with CVEs that were announced during the Jan 17 security update
by Oracle.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=145397539

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=145418516

* Adding the CVE numbers from Oracles Jan 17 security update to the documentation.
Minor changes to some test vectors: Some of the garbage added to the ASN encoding
was itself incorrect and has been replaced.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=145650774

* ECDSA MODIFIED_SIGNATURES should be public now.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=146186539
2017-02-01 10:45:16 -08:00
Emilia Käsper b898a62f3f Option to test a local BouncyCastle jar (#16)
Resolves Github issue #4
2017-01-11 17:57:11 -08:00
Thai Duong 189df20960 Better usage instruction and add BUILD targets for OpenJDK tests. 2016-12-13 19:30:49 -08:00
Thai Duong 223332fde6 Some last minute changes before public announcement. 2016-12-13 03:17:31 -08:00
Thai Duong 75efe2b665 Final sync before public release. 2016-12-07 01:17:05 -08:00
Thai Duong 625f91ce32 Add CREDITS 2016-12-04 21:32:40 -08:00
Thai Duong b1b22bc6c0 Fix more typos in README.md and rename CONTRIBUTING to CONTRIBUTING.md so that it is rendered correctly. 2016-12-04 19:23:25 -08:00
Thai Duong 0a3269d0f9 Fix some typos and links in README 2016-11-30 18:27:49 -08:00
Emilia Kasper f7ecb0dfad Initial GitHub export 2016-11-30 17:59:14 -08:00
Emilia Kasper c662a0ac90 Add a placeholder README.md 2016-10-13 11:34:15 +02:00