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

Add calendar to whitelist #42

Open
certifirm opened this issue Nov 25, 2018 · 0 comments
Open

Add calendar to whitelist #42

certifirm opened this issue Nov 25, 2018 · 0 comments

Comments

@certifirm
Copy link

I am trying to use my own calendar in 127.0.0.1 and I can use it to verify

When I call ots-cli.js inform this:

Usage: ots-cli [options] [command]

Options:
  -V, --version                   output the version number
  -v, --verbose                   Be more verbose.
  -l, --whitelist                 Add a calendar to the whitelist.
  --no-default-whitelist          Do not load the default remote calendar whitelist; contact only calendars that have been manually added with --whitelist
  -h, --help                      output usage information

Commands:
  info|i [FILE_OTS]               Show information on a timestamp.
  stamp|s [options] [FILE...]     Create timestamp with the aid of a remote calendar, the output receipt will be saved with .ots
  verify|v [options] [FILE_OTS]   Verify a timestamp
  upgrade|u [options] [FILE_OTS]  Upgrade remote calendar timestamps to be locally verifiable

To stamp a file, we must do:

ots-cli.js stamp -c http://127.0.0.1:14788 -m 1 FILE

(That it's not documented)

Then, If i try to verify with:

ots-cli.js v FILE.ots
Ignoring attestation from calendar http://127.0.0.1:14788: Calendar
And I tried to add to a whitelist, but it's imposible.

Where can I obtain more documentation?

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