@@ -159,4 +159,4 @@ true) // askOnDecrypt? we want this becuase otherwise somebody could rob us!
...
@@ -159,4 +159,4 @@ true) // askOnDecrypt? we want this becuase otherwise somebody could rob us!
2. Other steps are the same as in entry encryption, we just symetrically decrypt values of `password` and `safe_note` via `AES-256-GCM` algorithm. Size of IV and authTag for AES is the same as in encryption. Beware on cipher Key data type - it must be hex. Output is in JSON.
2. Other steps are the same as in entry encryption, we just symetrically decrypt values of `password` and `safe_note` via `AES-256-GCM` algorithm. Size of IV and authTag for AES is the same as in encryption. Beware on cipher Key data type - it must be hex. Output is in JSON.
Check example of password reader implementation in python [pwdreader.py](slip-0016/pwdreader.py) there is an example code for decryption.
Check example of password reader implementation in Python: [pwd_reader.py](https://github.com/trezor/python-trezor/blob/master/tools/pwd_reader.py) - there is an example code for decryption.