6 months ago i created a bot that basically stored every users data in json format in different text files and i had a fernet key. I basically didn't touched it for like 2 months now, because it's a bot for students. So here is the thing, school starts is 15 days, i have 106 accounts which are encrypted using a single fernet key and i can't decode any files because it says that it's corrupted. What can i do?
After digging through the fernet source code a bit, it looks like one possibility is that you have a TTL set on the encrypted data.
If you're using Ruby, you can disable the TTL check with the configuration option
If you're using Go, it looks like you can pass a
ttl of 0 into
You might be able to test this theory using the fernet CLI, as it appears to disable the TTL check by default (if I'm interpreting the Ruby code correctly).