#firmware #mini #utility #command-line-tool #encrypting #decrypting #path

bin+lib evic

Command-line utility for encrypting and decrypting firmware for the eVic-VTC Mini

2 releases

Uses old Rust 2015

0.1.1 Sep 9, 2016
0.1.0 Dec 21, 2015

#1525 in Hardware support

MIT/Apache

15KB
249 lines

eVic

Build Status

Command-line utility for encrypting and decrypting firmware for the eVic-VTC Mini.

Manual installation

To install evic and evicutil, you need to have the latest Rust stable installed, for more information on Rust, see https://rust-lang.org/

If you have Rust installed, all you have to do is run

cargo install evic

And then make sure your cargo bin path (typically ~/.cargo/bin is in your PATH.)

Usage

Encrypting firmware

To encrypt a piece of firmware, run evicutil with the encrypt command.

evicutil encrypt firmware.bin

This will encrypt the firmware.bin file and save it as firmware_encrypted.bin.

Decrypting firmware

To decrypt a piece of firmware, run evicutil with the decrypt command.

evicutil decrypt firmware.bin

Optionally, you can run the command with an -o option followed by an output path, for example:

evicutil decrypt -o output.bin firmware.bin

which will decrypt firmware.bin and save it as output.bin.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions. This work is published under the MIT license.

Dependencies

~1.5MB
~21K SLoC