summaryrefslogtreecommitdiff
path: root/usr.bin/signify/signify.c
AgeCommit message (Expand)Author
2017-04-18use freezero() instead of explicit_bzero + freeTheo de Raadt
2016-10-06- better check for seckeyname/pubkeyname "equality", remove the pathMarc Espie
2016-10-05when generating keys, make sure the names specified adhere to allTed Unangst
2016-10-05more properly check the secret key extension. from espieTed Unangst
2016-10-05combining an assignment and *two* tests in one conditional is a bit much.Ted Unangst
2016-09-27the keytype checking is logically part of verify, and it's small, soTed Unangst
2016-09-27no need to copy keypath if we already have oneTed Unangst
2016-09-26have to advance pointer past the / to get basename.Ted Unangst
2016-09-26there's a hidden feature to infer the public key from the signatureTed Unangst
2016-09-10spaces found during re-readTheo de Raadt
2016-09-03fix parameters checkingMarc Espie
2016-09-02use err() instead of errx when an errno is setTed Unangst
2016-09-02the old check for when verify needed to create files (affecting pledge)Ted Unangst
2016-09-02combine the pledge switch with the execution switch. no changes yet,Ted Unangst
2016-09-02-e and -z cannot be combinedTed Unangst
2016-09-02document the new stuff, usage nits.Marc Espie
2016-09-02add a new option (-z) for signing gzip archives.Marc Espie
2016-09-02move more code into createsig. callers just pass seckey filename.Ted Unangst
2016-09-02split the sign() function into two, with a pure memory core madeTed Unangst
2016-09-01don't initialize variables with functionsTed Unangst
2016-09-01add a -t keytype option for untrusted comment automatic key extractionMarc Espie
2016-06-08use getprognameTed Unangst
2015-12-04polishingTed Unangst
2015-11-02Make signify's stdout line buffered. This allows to run the verboseAlexander Bluhm
2015-10-30mark usage __deadTed Unangst
2015-10-09Change all tame callers to namechange to pledge(2).Theo de Raadt
2015-10-08add some tame calls. we may need a bunch of permissions to create filesTed Unangst
2015-01-16improve checksum parsing slightly. now handles filenames with spaces.Ted Unangst
2015-01-16just to be careful, add a cpp guard that the sscanf sizes are okTed Unangst
2015-01-15use PATH_MAX for path buffers. in case, you know...Ted Unangst
2015-01-09absurd optimization. reduce initial space by one to avoid leaving one byteTed Unangst
2015-01-07bcallah noticed the ifndef guard for headers was wrong. don't fix, justTed Unangst
2014-12-29useless change. overwriting the nul byte with a newline means b64_ntopTed Unangst
2014-12-29rename fingerprint struct field. no longer exposed to users, but since it'sTed Unangst
2014-12-29remove the inspect debug command. should not be used by users, who are notTed Unangst
2014-11-20Yet more #include de-duplication.Kenneth R Westerback
2014-07-13compare snprintf return value with -1. this isn't really necessary becauseTed Unangst
2014-05-30don't assign variables in if() that's not error checkingTed Unangst
2014-05-30a little style consistency with error checkingTed Unangst
2014-05-16save up the failures for the end in the argc == 0.Ted Unangst
2014-05-16a few changes for new code to match local styleTed Unangst
2014-05-16checksum mode can use magic pubkey finder tooTed Unangst
2014-05-16rework -C (perfect candidate for using hash tables, really):Marc Espie
2014-05-15fix the band-aid error.Marc Espie
2014-05-14let cpp do some of the workTed Unangst
2014-05-14spell out base64 in error messagesTed Unangst
2014-05-14save some memory by reducing buffer sizesTed Unangst
2014-05-14recode base64 hashes if necessaryTed Unangst
2014-05-14realloc like a boss, so checksum verification doesn't take minutes.Ted Unangst
2014-05-06temp variable for a bit of clarityTed Unangst