-
Notifications
You must be signed in to change notification settings - Fork 11
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
Add ContainerReader utility check_container() #9
Comments
"Create a function def check_container(container_filepath)" which does this:
TEST this function by creating a broken encrypted container which has 1 error of each type, and checking it, to ensure that it returns a list with all proper errors. |
This will need to use type validation tools of ticket #15 |
Security checks should be added like, number of layers in data-encryption and key-encryption |
For now we have check_cryptainer_sanity() and check_cryptoconf_sanity(), which do not aggregate errors, but check types and enumerations properly. What remains to be done : "Security checks should be added like, number of layers in data-encryption and key-encryption" |
Superseded by #41 |
This utility loops on container data like decrypt_data() ; it checks that everything is fine in the container (proper algo codes, data structures, presence of the offladed data file near the container if needed...).
It returns a list of error messages (translatable), for all problems encountered.
The text was updated successfully, but these errors were encountered: