xaionaro-go / trezorLuks

A wrapper around "cryptsetup" to use a key from a Trezor device instead of a password
Creative Commons Zero v1.0 Universal
21 stars 6 forks source link

Should initialKey and IV be dynamic or it can be hardcoded #1

Open xaionaro opened 6 years ago

xaionaro commented 6 years ago

https://github.com/xaionaro-go/trezorLuks/blob/b933c862873c2ef43b2c6eb1b6f2bd3906c79c34/main.go#L18

vs

https://github.com/xaionaro-go/trezorLuks/blob/6d30d3527b958280ed96151cb5ba32dd0afd94c1/main.go#L176

Can somebody explain can I leave the hardcoded values?