Zicklag
c1421d0ad9
docs(readme): update with audit note
2020-11-30 11:07:40 +01:00
Tony Arcieri
f6b445b660
fix: pin subtle to 2.1.1 to avoid MSRV downgrades ( #71 )
...
Co-authored-by: Tony Arcieri <bascule@gmail.com>
Co-authored-by: dignifiedquire <me@dignifiedquire.com>
2020-11-24 06:11:56 -08:00
Amos Wenger
c2e9ccd865
Update README.md ( #70 )
2020-11-24 06:01:04 -08:00
Artyom Pavlov
c879eb2717
chore: add Dependabot
2020-08-18 23:55:29 +02:00
Robin Lambertz
e8152949f9
feat: nostd, core+alloc support
...
* No-std support
* Fix tests
* Cleanly error out when building without the alloc feature
* Run no-std tests on arm-linux-gnu target
* Fix nostd tests
* Attempt 2 at fixing nostd tests
* Fix warnings when running tests in nostd mode
* fixup! No-std support
2020-08-07 22:39:36 +02:00
Austin Abell
4274e838d1
feat: add encoding of keys to PEM
2020-07-29 12:41:53 +02:00
Jakub Konka
a649ce16e0
feat: allow for custom public exponent value in keygen
...
This commit adds a function to `rsa::algorithms` called
`generate_multi_prime_key_with_exp` which allows the caller
to specify a custom value for the public key exponent.
This commit also adds a convenience routine to `rsa::RSAPrivateKey`
called `new_with_exp` which allows the caller to specify the
custom value for the public key exponent as part of `rsa::RSAPrivateKey`
constructor.
Exposing the public key exponent matches an OpenSSL call
`openssl::rsa::generate_with_e` which is useful in certain
settings such when generating the signing keys for SGX enclaves.
2020-07-29 12:33:45 +02:00
Robin Lambertz
af31a45291
ci: move to github actions
2020-07-24 18:45:52 +02:00
Tony Arcieri
cda2f3987f
Merge pull request #52 from RustCrypto/readme/remove-deps-rs-badge
...
README.md: remove deps.rs badge
2020-06-11 12:14:56 -07:00
Tony Arcieri
267111836b
README.md: remove deps.rs badge + bump MSRV badge
2020-06-11 12:07:03 -07:00
dignifiedquire
02689d1b28
chore(rsa): release 0.3.0
2020-06-11 14:13:09 +02:00
Friedel Ziegelmayer
3bd9795a34
Merge pull request #43 from RustCrypto/oaep-dig
2020-06-11 13:58:45 +02:00
dignifiedquire
a2bafc05a8
apply CR for pss implementation
2020-06-11 13:37:34 +02:00
dignifiedquire
f3e99b434d
feat: update dependencies to rustcrypto 0.9 releases
2020-06-11 13:24:03 +02:00
dignifiedquire
84bfd0d9eb
fix benchmarks
2020-06-11 13:20:51 +02:00
dignifiedquire
f3f794d44b
CR for oaep
2020-04-11 14:55:03 +02:00
Friedel Ziegelmayer
2ae5f331b4
Update src/algorithms.rs
...
Co-Authored-By: str4d <thestr4d@gmail.com>
2020-04-11 14:35:24 +02:00
dignifiedquire
40d7be0223
document padding schemes
2020-04-10 14:36:10 +02:00
dignifiedquire
668e9ddfe4
apply CR
2020-04-10 14:34:25 +02:00
dignifiedquire
11500ed5e9
make oaep and pss generic over keys
2020-03-06 23:10:55 +01:00
dignifiedquire
167080e2a4
Merge remote-tracking branch 'origin/master' into oaep-dig
2020-03-06 22:49:57 +01:00
Friedel Ziegelmayer
94ce39d9b7
Merge pull request #44 from str4d/pkcs1v15-generic-privkey
...
pkcs1v15: Make decrypt() and sign() generic over PrivateKey
2020-03-06 22:35:23 +01:00
Jack Grigg
ff584d1bb8
pkcs1v15: Make decrypt() and sign() generic over PrivateKey
2020-03-07 09:46:48 +13:00
dignifiedquire
bc9749ea3d
update serde test
2020-03-06 21:42:25 +01:00
dignifiedquire
062ab54739
fix benches
2020-03-06 21:24:09 +01:00
dignifiedquire
0b9564cbe0
update readme
2020-03-06 21:11:24 +01:00
dignifiedquire
476f642075
Merge branch 'pss' into oaep-dig
2020-03-06 21:10:13 +01:00
dignifiedquire
b50fa5238e
refactor: bring oaep implementation into the regular interface
2020-03-06 20:05:24 +01:00
lucdew
79439a004e
Add oaep encrypt and only with sha1 digest
...
Test assertion is manual and done with openssl
2020-03-06 18:24:58 +01:00
Friedel Ziegelmayer
6972a5948c
Merge pull request #42 from RustCrypto/key-trait-refactor-dig
...
Key trait refactor
2020-03-06 18:21:33 +01:00
dignifiedquire
d5b46789b2
feat: implement From<&RSAPrivateKey> for RSAPublicKey
2020-03-06 18:09:21 +01:00
Jack Grigg
ea2a3bfeb8
Introduce key::{PrivateKey, PublicKeyParts}
...
RSAPrivateKey no longer implements PublicKey. Instead,
RSAPublicKey::from(RSAPrivateKey) should be used to obtain a public key.
2020-03-06 18:05:57 +01:00
Jack Grigg
826ea30004
Introduce raw::{DecryptionPrimitive, EncryptionPrimitive}
2020-03-06 18:05:57 +01:00
Tony Arcieri
d26bb6a057
Merge pull request #41 from aloucks/serdename
...
Rename `serde1` feature to `serde`
2020-02-25 17:55:29 -10:00
Tony Arcieri
4f402eefb2
Merge pull request #40 from aloucks/thiserror
...
Use `thiserror` instead of `failure`
2020-02-25 17:55:12 -10:00
Aaron Loucks
092fc3b1dc
Use thiserror
instead of failure
...
Fixes #39
2020-02-25 21:29:05 -05:00
Tony Arcieri
54ecc60caa
Merge pull request #38 from aloucks/parse
...
Add parsing for pkcs1 and pkcs8 encoded rsa keys
2020-02-25 16:24:44 -10:00
Aaron Loucks
fab3789707
Add doctest examples for key parsing
2020-02-25 20:49:05 -05:00
Aaron Loucks
3d4500036f
Rename serde1
feature to serde
2020-02-25 20:37:17 -05:00
Aaron Loucks
0f61eff8ec
Remove use statements for parse functions in lib.rs
2020-02-15 11:10:55 -05:00
Aaron Loucks
bb3a0e23f2
Replace public parse functions with factory constructors
2020-02-14 18:37:36 -05:00
Aaron Loucks
783b82d493
Add parsing for pkcs1 and pkcs8 encoded rsa keys
...
Fixes #37
2020-02-13 18:12:07 -05:00
Friedel Ziegelmayer
6f76de030d
fix: make precompute optional instead of panicking on invalid coeff
...
* Make precompute return a result instead of panicking on invalid coeff
* Add regression test for panic on invalid coeff
Co-authored-by: Benoît C. <benoit.cortier@fried-world.eu>
2020-01-09 21:30:46 +01:00
Benoît CORTIER
d2efb8489a
Add regression test for panic on invalid coeff
2020-01-09 15:23:01 -05:00
Benoît CORTIER
ba0542ba91
Make precompute return a result instead of panicking on invalid coeff
2020-01-09 14:58:23 -05:00
dignifiedquire
3818b74b52
chore(rsa): release 0.2.0
2019-12-11 01:16:23 +01:00
Friedel Ziegelmayer
e38553f8e8
feat: update dependencies
2019-12-11 01:15:49 +01:00
dignifiedquire
fcd1e537d5
chore(rsa): release 0.1.4
2019-10-13 16:32:39 +02:00
dignifiedquire
6f6076702a
feat(deps): update to the latest
2019-10-13 16:31:11 +02:00
dignifiedquire
64a3ee5a36
chore: add release config
2019-10-13 15:34:57 +02:00