Skip to content

Commit

Permalink
Replace test RSA-512 keys with RSA-2048 (#1192)
Browse files Browse the repository at this point in the history
* Replace test RSA-512 keys with RSA-2048

RSA-512 was factored in 1999, before Android even existed. Test with a
more plausible key size. Since generating RSA keys is a little slow
(0.1s), I've made NativeCryptoTest reuse a single generated test key.

* Move all test data initialization to a @BeforeClass

See discussion in PR
  • Loading branch information
davidben authored Mar 12, 2024
1 parent eb1b01d commit 74c3c1a
Show file tree
Hide file tree
Showing 2 changed files with 134 additions and 167 deletions.
Loading

0 comments on commit 74c3c1a

Please sign in to comment.