mstephanidhs / Diploma-Thesis

GNU General Public License v3.0
0 stars 0 forks source link

Master Key/IV #5

Closed mstephanidhs closed 11 months ago

mstephanidhs commented 11 months ago

make master key and iv as random bytes in order to achieve higher security

mstephanidhs commented 11 months ago

solved using the secrets library in Python

mstephanidhs commented 11 months ago

it appears that it doesn't work as expected.

ERROR: 2023-11-09 21:43:18,826 - ERROR - An error occurred: '>=' not supported between instances of 'bytes' and 'int'

Test it to a single miniseed file to observe the behaviour and decide accordingly.

mstephanidhs commented 10 months ago

turns out I was converting the random bytes that were created to hex strings which is apparently wrong fixed it