Skip to content

The anti-replay oracle used in the Revault architecture

License

Notifications You must be signed in to change notification settings

revault/cosignerd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

85 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cosignerd

The anti-replay oracle used under the Revault architecture.

Usage

cosignerd must be used along with revaultd as part of a Revault deployment. If you are looking for trying out Revault, check out the aquarium (a script putting all the Revault parts together on a regtest network).

Testing

Unit tests can be run using the command

cargo test

You'll need honggfuzz-rs for running fuzz tests.

cd fuzz/ && cargo hfuzz run process_sign_message

Alternatively you can clone the existing corpus for the process_sign_message target and start extending it from there. For example:

# Still from the root of the fuzz/ directory
git clone https://github.com/revault/cosignerd_fuzz_corpus
HFUZZ_RUN_ARGS="--exit_upon_crash -v --input cosignerd_fuzz_corpus" cargo hfuzz run process_sign_message

Refer to Honggfuzz's doc for more run options.

Licence

BSD 3-clauses, see LICENSE.