Go to file
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
blocks Update to cgmath 0.16.1, collision 0.18.0 2018-10-27 18:11:26 -07:00
gl Update to khronos_api 2.2.0 2018-10-27 18:15:51 -07:00
resources Use absolute paths when including resources. (Fixes #53) 2016-07-02 14:15:10 +01:00
shared Cleaning up blocks a little bit. 2016-04-08 11:30:41 -04:00
src Remove use of OpenSSL for RSA PKCS1 encryption (#12). Closes #2 2018-11-04 09:40:51 -08:00
.gitignore Update to Minecraft 1.11 (Fixes #63) 2016-12-09 14:32:02 +00:00
.travis.yml Remove use of OpenSSL for RSA PKCS1 encryption (#12). Closes #2 2018-11-04 09:40:51 -08:00
Cargo.lock Remove use of OpenSSL for RSA PKCS1 encryption (#12). Closes #2 2018-11-04 09:40:51 -08:00
Cargo.toml Remove use of OpenSSL for RSA PKCS1 encryption (#12). Closes #2 2018-11-04 09:40:51 -08:00
LICENSE-APACHE Duel license under MIT and ApacheV2 2016-03-26 17:34:47 +00:00
LICENSE-MIT Duel license under MIT and ApacheV2 2016-03-26 17:34:47 +00:00
README.md Remove use of OpenSSL for RSA PKCS1 encryption (#12). Closes #2 2018-11-04 09:40:51 -08:00
appveyor.yml Remove use of OpenSSL for RSA PKCS1 encryption (#12). Closes #2 2018-11-04 09:40:51 -08:00

README.md

Steven (Rust)

Build Status

A Minecraft client coded in Rust. Ported from steven-go. Don't expect it to go anywhere, just doing this for fun.

Images

Steven on Hypixel Steven

In action: http://gfycat.com/NeedyElaborateGypsymoth

Chat

I generally am on the irc.spi.gt irc network in the #think channel. Feel free to pop in to say hi, Webchat can be found here

Building

For more detailed info and platform specific instructions check the wiki.

Currently requires SDL2, and beta or nightly Rust to build.

cargo build --release

Windows users can download pre-compiled builds from here: https://ci.appveyor.com/project/iceiix/steven (Select your platform, Click the artifacts tab and download Steven.zip)

The Visual Studio 2015 Redistributable is required to run these builds.

Running

Standalone

Just running steven via a double click (Windows) or ./steven (everything else) will bring up a login screen followed by a server list which you can select a server from.