Skip to content

tschmidtb51/csaf-auxiliary-oasis-quorum-calculator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

oasis-quorum-calculator

⚠️ This is work in progress!

A simple tool to calculate the quorum for OASIS TCs (definitely JavaScript-free)

See here how to build.

Create an initial config file.

cp docs/example-oqcd.toml oqcd.toml

Do the initial database migration.

OQC_DB_MIGRATE=true ./bin/oqcd

Extract the password of admin. Use it to log in.

grep -oP 'user=admin.+password=\K[0-9a-zA-Z]+' oqcd.log

The sessions are signed with a key. To have sessions that survive restaring oqcd you need to store the signing secret into the config file.

sed -i -e "s|^#secret =.*|secret = \"$(grep -oP 'session key.+secret=\K[0-9a-f]+' oqcd.log)\"|" \
       -e 's|^#\[sessions\]|[sessions]|' oqcd.toml

Starting

./bin/oqcd

About

A simple tool to calculate the quorum for OASIS TCs (definitely JavaScript-free)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 99.6%
  • Other 0.4%