Skip to content

Verify chain-signed messages: tempering-resistant even if compromised

Notifications You must be signed in to change notification settings

Happuri/chainsign

 
 

Repository files navigation

Daemon mode:

1) create fifo:
	mkfifo fifo 
	
2) run:
./chainsign --daemon name_of_instance out_dir
example:	./chainsign --daemon my_instance .

3) write command to fifo:
START
CMD1
CMD2
<cmd2-argument>
CMD3
<cmd3-argument>
CMD4
CMD5
(...)
QUIT

example:
echo "START" > fifo
echo "SIGN-NEXTKEY-WAV-FILES" > fifo
echo "SIGN-NEXTKEY" > fifo
echo "file1" > fifo
echo "VERIFY-FILE" > fifo
echo "file1.sig" > fifo
echo "QUIT" > fifo

comands in daemon mode:
SIGN-NEXTKEY-WAV-FILES - sign all *.wav files in current dir, mv files to our dir, create tar.gz archive
SIGN-NEXTKEY - next command in fifo is name of file, sign one file
VERIFY-FILE - next command in fifo is name of *.sig file, verify one file
QUIT - close program

About

Verify chain-signed messages: tempering-resistant even if compromised

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 100.0%