-
use rsa::{RsaPublicKey, PaddingScheme};
// Load the server's public key (in PEM format)
let public_key_pem = "-----BEGIN PUBLIC KEY-----\n...";
let public_key = RsaPublicKey::from_pem(public_key_…
-
**Is your feature request related to a problem? Please describe.**
While [`pyca/cryptography`](https://github.com/pyca/cryptography) is generally a high quality wrapper around OpenSSL, because of pec…
-
Two things that I'm trying to achieve: Creating the signing keys when starting a server. And being able to have access to the original signing key so that it can be used in other libraries (e.g for ht…
-
Hey Tony, long time no chat!
I'm using RustCrypto in a project involving JOSE. I have some fairly open ended extensibility requirements, so I'm leveraging RustCrypto's generic signature traits as m…
-
When signing data, people recommended to use PSS method rather than PKCS1v15
I saw Pointy Castle is still using PKCS1v15.
https://cryptography.io/en/latest/hazmat/primitives/asymmetric/rsa/#signi…
-
```
---- pk::tests::rsa_sign_verify_pkcs1v15 stdout ----
thread 'pk::tests::rsa_sign_verify_pkcs1v15' panicked at 'called `Result::unwrap()` on an `Err` value: RsaBadInputData', src/libcore/result.r…
-
Currently when environment variables are encrypted, they use RSA keys with PKCS1v15 padding: https://github.com/travis-ci/travis.rb/blob/master/lib/travis/client/repository.rb#L15-L18 (it's the defaul…
-
Digest now makes use of several vaguely-named generic wrapper structs and type aliases to give them human-readable names.
This makes both the type names emitted by rustc and the resulting rustdoc h…
-
$ go version
go version go1.15.5 linux/amd64
### Does this issue reproduce with the latest release?
Yes
### What did you do?
```go
rsa.VerifyPKCS1v15(myPublicKey, crypto.SHA3_224, hashed…
-
**Is your feature request related to a problem? Please describe.**
Yes it is. We'd like to use the Vault transit secrets engine to sign and decrypt with an RSA padding scheme of `pkcs1v15` for a us…