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

Allow specification of an encryption key on the command-line #94

Open
machawk1 opened this issue Jan 31, 2017 · 1 comment
Open

Allow specification of an encryption key on the command-line #94

machawk1 opened this issue Jan 31, 2017 · 1 comment

Comments

@machawk1
Copy link
Member

Though this might not be the most secure option, allow the user to specify the key on invocation of the indexing system. This will also facilitate automated testing of ipwb instead of the current system's scheme of waiting for prompt-based input from the user.

@machawk1
Copy link
Member Author

machawk1 commented Feb 1, 2017

I added a --debug flag that can be used when executing the indexer for the sake of testing but this is sub-optimal, as it uses a static encryptionKey (main for testing and CI). argparse does not like my attempts at implementing ipwb index -e mykey warcFile, as the interaction between the indexing sub-parser and the main argument parser uses the unintended values.

Variable length keys is needed as one variant to evaluate.

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

No branches or pull requests

1 participant