A utility tool that allows a passport holder to allow or deny a fact provider to write/delete facts to/from a passport.
By default any fact provider can write to a passport, but a passport holder can change permissions that allow only
fact providers from the whitelist to write to a passport.
Usage
Usage of ./passport-permission:
-add value
add fact provider to the whitelist
-backendurl string
backend URL (simulated backend used if empty)
-onlywhitelist value
enables or disables the use of a whitelist of fact providers
-ownerkey string
owner private key filename
-ownerkeyhex string
private key as hex (for testing)
-passaddr string
Ethereum address of passport contract
-remove value
remove fact provider from the whitelist
-verbosity int
log verbosity (0-9) (default 2)
-vmodule string
log verbosity pattern