summaryrefslogtreecommitdiff
path: root/usr.bin/signify/signify.c
AgeCommit message (Expand)Author
2022-08-26Move (unused) variables under !VERIFYONLYKlemens Nanni
2020-01-21In -C mode, the public key is optional since it can be deduced fromTheo Buehler
2019-12-22have parseb64file be non-destructive, so we can write theMarc Espie
2019-09-09use PATH_MAX instead of 1024; ok teduTheo de Raadt
2019-07-03snprintf/vsnprintf return < 0 on error, rather than -1.Theo de Raadt
2019-03-23allow -n to zero the gzip header timestamp. suggestion from Andre Stoebe.Ted Unangst
2019-01-17change an error message to be less misleading.Ted Unangst
2019-01-17clean up the user's password even after various errors.Ted Unangst
2017-07-11fix style compliance, in the keyname compliance function no lessTed Unangst
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