RSA icon indicating copy to clipboard operation
RSA copied to clipboard

RSA implementation in pure Rust

Results 65 RSA issues
Sort by recently updated
recently updated
newest added

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...

In #349 I suggested adopting some sort of ceiling on the size of integers that are acceptable for signatures, i.e. a maximum modulus size. This would prevent parsing some large...

I created a pair of RSA keys using Openssl . [private.key.pem.txt](https://github.com/RustCrypto/RSA/files/11835351/private.key.pem.txt) [public.key.pem.txt](https://github.com/RustCrypto/RSA/files/11835352/public.key.pem.txt) Now I have the following code: ```Rust use std::fs::File; use std::io::Read; use rsa::pkcs8::LineEnding; use rsa::traits::PublicKeyParts; use rsa::pkcs8::spki::EncodePublicKey; use...

[RSA-KEM](https://www.rfc-editor.org/rfc/rfc5990#appendix-A) is a key encapsulation mechanism for transmitting a randomly generated cryptographic key (e.g. a symmetric key for a hybrid cryptosystem) between parties. We have a trait-based abstraction over KEMs...

I am working on a project that has a policy to avoid BSD 2- and 3-clause licenses due to the complexity of satisfying the attribution clause: > Redistributions in binary...

Reproduction: ```rust use rsa::pkcs8::{EncodePrivateKey, EncodePublicKey, LineEnding}; use rsa::{RsaPrivateKey, RsaPublicKey}; use std::io::Write; fn main() { let mut rng = rand::thread_rng(); let bits = 2048; let priv_key = RsaPrivateKey::new(&mut rng, bits).expect("failed to...

Cc/ @dignifiedquire @tarcieri serde skip requires a default for `BoxedMontyParams` associated n_params since it's not an option at RsaPublicKey

For example when using a 2048 bits key and call decrypt() on a ciphertext that more than 256 bytes long, we get a generic error message that says `Err value:...

Bumps [subtle](https://github.com/dalek-cryptography/subtle) from 2.5.0 to 2.6.1. Changelog Sourced from subtle's changelog. Changelog Entries are listed in reverse chronological order. Commits 5457b54 Bump version to 2.6.1. 03139c0 Correct CI badge branch...

dependencies
rust

Bumps [proptest](https://github.com/proptest-rs/proptest) from 1.4.0 to 1.5.0. Commits ca308b0 Merge pull request #462 from mirandaconrado/master 0a53eda Merge pull request #467 from matthew-russo/macro-0.1 96a2dab Merge pull request #464 from matthew-russo/master f818fa2 Release...

dependencies
rust