Open machawk1 opened 6 years ago
@ibnesayeed We discussed this before but I cannot recall your advice for an elegant scheme to allow for per URI-R or per-URI-M authentication references in an index. Can you provide your 2-cents here. Most anything would be helpful and perhaps instigate progress.
I think shared some thoughts in https://github.com/oduwsdl/ipwb/issues/447#issuecomment-406487079 earlier.
Related to #165 and an idea I am still hashing (no pun) out.
CDXJ output for
ipwb index -e ipwb/samples/warcs/5mementos.warc
then entering the keygoMonarchs
produces:CDXJ output
Note the redundant field
encryption_key
(which we would anticipate being removed),encryption_method
fields with identical values for multiple mementos whereasencryption_nonce
varies.A method of extracting this information may be to have it at a location in the user's filesystem like
~/Dropbox/ipwb/auth.yml/json
. In this case, the expectation is that the CDXJ produced by the aboveipwb
indexer command may produce:CDXJ line
-or-
CDXJ line
-or-
CDXJ line