stevenarella/src
iceiix 1589a29685
Remove use of OpenSSL for RSA PKCS1 encryption (#12). Closes #2
* Add handwritten RSA PKCS1 encryption using num-bigint and simple_asn1

* Add more logging to compare OpenSSL with/without side-by-side

* Log message and ciphertext in hex

* Print N and e as hexadecimal integers

* Fix bad encryption caused by zeros in PKCS1 padding

PS field in https://tools.ietf.org/html/rfc8017#section-7.2.1
Must be nonzero

* Use rand fill instead of rand_bytes

* Remove OpenSSL!

* Update CI scripts and docs to not install OpenSSL

* Remove copying OpenSSL DLLs (libeay and ssleay) in AppVeyor script

* Change rsa_public_encrypt_pkcs1 to return a Result<Vec<u8>, String>

* Add error checking, returning Err<String> on failure; RFC comments

* Add the required message representative range checking

* Use expect() instead of unwrap() on from_der

* Map the ASN.1 error to a String to return it from rsa_public_encrypt_pkcs1() instead of panicking

* Move RSA to a new crate, rsa_public_encrypt_pkcs1

https://github.com/iceiix/rsa_public_encrypt_pkcs1

* Update to rsa_public_encrypt_pkcs1 with simple_asn 0.1.0

https://github.com/iceiix/rsa_public_encrypt_pkcs1/issues/1

* Update to published version of rsa_public_encrypt_pkcs1, 0.1.0

* Remove unnecessarily added blank line

* Remove libssl-dev from .travis.yml
2018-11-04 09:40:51 -08:00
..
console Replace hyper with reqwest (#7) 2018-10-27 17:03:34 -07:00
ecs Fixed another batch of clippy warnings 2016-09-15 15:15:52 +01:00
entity Update to cgmath 0.16.1, collision 0.18.0 2018-10-27 18:11:26 -07:00
gl Check glGetError() in rendering loop 2018-10-07 13:53:50 -07:00
model Update to serde_json 1.0 (#6) 2018-10-23 18:47:21 -07:00
nbt Update to serde_json 1.0 (#6) 2018-10-23 18:47:21 -07:00
protocol Remove use of OpenSSL for RSA PKCS1 encryption (#12). Closes #2 2018-11-04 09:40:51 -08:00
render Update to cgmath 0.16.1, collision 0.18.0 2018-10-27 18:11:26 -07:00
screen Update to serde_json 1.0 (#6) 2018-10-23 18:47:21 -07:00
server Remove use of OpenSSL for RSA PKCS1 encryption (#12). Closes #2 2018-11-04 09:40:51 -08:00
types Support beta Rust release. Closes #8 (#11) 2018-11-02 16:57:23 -07:00
ui Update to rand 0.5.5 for https://github.com/iceiix/steven/issues/4 2018-09-30 19:05:20 -07:00
world Support beta Rust release. Closes #8 (#11) 2018-11-02 16:57:23 -07:00
auth.rs Separate the console and console vars. Removes the need to lock on the console to read vars 2016-04-21 11:40:50 +01:00
chunk_builder.rs Update to rand 0.5.5 for https://github.com/iceiix/steven/issues/4 2018-09-30 19:05:20 -07:00
format.rs Update to serde_json 1.0 (#6) 2018-10-23 18:47:21 -07:00
item.rs Clean up the protocol implementation to use generics instead of trait objects 2016-04-08 18:46:07 +01:00
macros.rs Base implementation for worlds/blocks 2016-03-18 22:24:30 +00:00
main.rs Remove use of OpenSSL for RSA PKCS1 encryption (#12). Closes #2 2018-11-04 09:40:51 -08:00
resources.rs Replace hyper with reqwest (#7) 2018-10-27 17:03:34 -07:00
settings.rs Separate the console and console vars. Removes the need to lock on the console to read vars 2016-04-21 11:40:50 +01:00