by pwg · 3y ago · 0 comments
None of which matters.
What matters as to whether an attacker can decrypt it is the algorithms used to encrypt the token.
You have also not explained how the vault is encrypted (I'm assuming it is encrypted somehow, otherwise an attacker simply downloads the vault and has your credentials).
You can't expect us to give you anything but generic statements if you don't explain how your system works.
https://github.com/proxemy/dotfiles/blob/master/scripts/toke...
The vault is regular kdbx with an additional password file.
Thank you for your time btw.
No loss pointing out that you also publicly show the decryption script. If your system is not resilient against an attacker that knows everything, except the key, then your system would violate Kerckhoffs's principle (https://en.wikipedia.org/wiki/Kerckhoffs%27s_principle).
But you still do not explain how this token relates to the vault, nor how decrypting the token is a necessary dependency to decrypting the vault.