Skip to content

Add calendar to whitelist #42

@certifirm

Description

@certifirm

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions