-
We should use a default keytype in most tests (currently RSA, ecdsa maybe makes sense after #155). In addition we should have specific tests for support of various other keytypes. Specification does n…
-
**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…
-
;)
```
from certipy.lib.certificate import load_pfx
from cryptography.hazmat.primitives.asymmetric import padding
from asn1crypto import cms
from Crypto.Cipher import PKCS1_OAEP, AES, DES3
fro…
-
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_…
-
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…
-
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…