Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"EncryptionInformation.Method.IV" seems to have no use #22

Open
strantalis opened this issue Sep 17, 2023 · 1 comment
Open

"EncryptionInformation.Method.IV" seems to have no use #22

strantalis opened this issue Sep 17, 2023 · 1 comment

Comments

@strantalis
Copy link
Member

Today in the current implementations it seems like the EncryptionInformation.Method.IV goes unused which leaves me to think it is not needed in EncryptionInformation.Method. I propose that we remove this field as it is standard practice to generate a random IV for each encrypted chunk and prepend it to the beginning of the cipher text.

Also this will help reduce any confusion if someone is trying to implement the tdf3 spec in something other than cpp or javascript

@strantalis
Copy link
Member Author

Another finding is that kas actually uses the iv in metadata block of encrypted metadata. So adding to the confusion of when IV is used.

#28

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant