blob: 2c08c8c88f173723846073f90d62ac6ea9d2d5b4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
Links
http://www.tedunangst.com/flak/post/bcrypt-pbkdf
http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/lib/libutil/bcrypt_pbkdf.c
https://github.com/dchest/bcrypt_pbkdf
Generate
-> key.sec, key.pub
Sign
<- key.sec, msg.txt -> msg.txt.sig
<- key.sec, arch.gz -> arch.gz.sig
Verify
<- key.pub, msg.txt (msg.txt.sig)
<- key.pub, arch.gz (arch.gz.sig)
verify
plain:
read pub, read sig, read msg
verify msg (stand-alone)
embeded:
read pub, read sig
verify msg (as part of sig)
gzip:
read pub, read gzip
verify gzip header -> sig
verify gzip body with content of header
check:
read pub, read sig
verify sig
verify files with content of sig
|