cryptoadvance / specter-diy

DIY airgapped hardware wallet that uses QR codes for communication with the host
MIT License
441 stars 73 forks source link

entropy encryption fix #42

Closed stepansnigirev closed 4 years ago

stepansnigirev commented 4 years ago

AES only supports block of %16 length. This was causing fail when saving entropy of 20, 24 or 28 bytes long. This pull request fixes it.