https://github.com/dhcgn/ecc-hsm-encryptor
A small application to encrypt and decrypt files with a Nitrokey HSM.
https://github.com/dhcgn/ecc-hsm-encryptor
Last synced: 3 days ago
JSON representation
A small application to encrypt and decrypt files with a Nitrokey HSM.
- Host: GitHub
- URL: https://github.com/dhcgn/ecc-hsm-encryptor
- Owner: dhcgn
- Created: 2017-06-04T18:50:22.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2024-04-18T17:09:58.000Z (about 1 year ago)
- Last Synced: 2024-05-01T12:47:37.858Z (about 1 year ago)
- Language: C#
- Homepage:
- Size: 1.07 MB
- Stars: 10
- Watchers: 4
- Forks: 2
- Open Issues: 19
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ECC HSM Encryptor
> Application is in **alpha** state!
## Intro
A small application to encrypt and decrypt files with a Nitrokey HSM.
The proof of concept is working! You need to install [OpenSC](https://github.com/OpenSC/OpenSC/wiki) and a [NitroKey HSM](https://shop.nitrokey.com/shop/product/nitrokey-hsm-7).
The actual state is more or less a minimum viable product (MVP), it has a few limitations and the most dialogs are not implemented.
The Crypto-Stuff is here: https://github.com/dhcgn/Encryption-Suite
## Sample
[](https://vimeo.com/229488098)
### Limitations
The following ECDSA GF(p) 192-320 bit elliptic curves are supported by the HSM, but only brainpoolP320r1 is at the moment implemented.
- secp192r1 (prime192v1)
- secp256r1 (prime256v1)
- brainpoolP192r1
- brainpoolP224r1
- brainpoolP256r1
- brainpoolP320r1 **Implemented!**
- secp192k1
- secp256k1## Features
- Encryption and decryption of files with one or more elliptic curves
- Decryption is only possible with a NitroKey HSM **private key can not leave HSM at any time**
(No software-based elliptic curve handling is implemented)
- Encryption with **AES-256**, ENCRYPT-THAN-MAC (HMAC SHA512), Derived Secret hashed with SHA 512 against weak bits## Roadmap
- Reach beta stadium, see issues
- https://github.com/dhcgn/Encryption-Suite/issues
- https://github.com/dhcgn/ECC-HSM-Encryptor/issues## Screenshots
