A Teensyduino based Yubikey HSM emulator. This code in under heavy development, some function may not working properly. TeensyHSM is inspired by YubiHSM Manual and python-pyhsm
Description:
- EEPROM header contains header identifier and SHA1 digest of decrypted EEPROM body
- EEPROM body contains 32 entries of keys and 32 entries of secrets
Please read this carefully
- TeensyHSM is not intended to replace YubiHSM
- TeensyHSM is not FIPS 140-2 certified
- TeensyHSM entropy source is based on sampled ADC noise while YubiHSM uses PN-junction avalance noise based entropy source. If you need security please use YubiHSM instead
- TeensyHSM is not tamper resistant and vulnerable to side channel attack (DPA, EMF emission pickup)
- Use at your own risk
Teensy HSM uses the following algorithms:
- AES-128 (ECB, CBC, CCM)
- SHA1-HMAC
- SHA1
- AES-128 based SP800-90 CTR-DRBG