Skip to content

Navigation Menu

Sign in
Sign up

What is the risk of file id poisioning? #944

Answered by rfjakob
lquenti asked this question in Q&A
Discussion options

Hi, I am currently playing around with using the file ids as a persistent identifier for sth else. Thus, in my case, empty files already have a file id.

Anyways, I was very suprised that gocryptfs aggressively removes file headers whenever sth is truncated to 0. In particular, I found

// This makes File ID poisoning more difficult.

What exactly is the risk of file id poisioning? Is it about like setting it to all zeroes in order to invalidate the strength of the AAD or sth? I never formally had a cryptography lecture...

You must be logged in to vote

This was found in the security audit, it's explained in section 2.2 here: https://defuse.ca/downloads/audits/gocryptfs-cryptography-design-audit.pdf

Replies: 1 comment 1 reply

Comment options

This was found in the security audit, it's explained in section 2.2 here: https://defuse.ca/downloads/audits/gocryptfs-cryptography-design-audit.pdf

You must be logged in to vote
1 reply
Comment options

Sorry for the annoyance, I don't know how I missed that one, will read the audit back to back later today! Thanks!

Answer selected by lquenti
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants

AltStyle によって変換されたページ (->オリジナル) /