]> git.sommitrealweird.co.uk Git - onak.git/commit
Add checking for signature hashes
authorJonathan McDowell <noodles@earth.li>
Fri, 13 Jul 2012 00:11:11 +0000 (18:11 -0600)
committerJonathan McDowell <noodles@earth.li>
Fri, 13 Jul 2012 00:11:11 +0000 (18:11 -0600)
commit4c8bebffd4bc105ebaa09256b7a57f4a6201bd52
treea6fd5feef85bdb501a9c9f6101392075e2ac2905
parentbf8716058fd535ccec14727f58cf1fcf032695a2
Add checking for signature hashes

  Signatures include the first 2 octets of the hash the signature is
  over. Checking this matches what we expect is an easy way to drop
  corrupt or incorrect signatures. It doesn't provide any cryptographic
  verification but is a useful sanity check when accepting keys.
Makefile.in
cleankey.c
onak-conf.c
onak-conf.h
onak.conf.in
sigcheck.c [new file with mode: 0644]
sigcheck.h [new file with mode: 0644]