Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | improve checksum parsing slightly. now handles filenames with spaces. | 2015-01-16 | 1 | -4/+3 | |
| | | | | (though not names with ')'; sorry.) | ||||
* | just to be careful, add a cpp guard that the sscanf sizes are ok | 2015-01-16 | 1 | -1/+4 | |
| | |||||
* | use PATH_MAX for path buffers. in case, you know... | 2015-01-15 | 1 | -3/+4 | |
| | |||||
* | absurd optimization. reduce initial space by one to avoid leaving one byte | 2015-01-09 | 1 | -2/+2 | |
| | | | | hanging off on a page by itself. | ||||
* | bcallah noticed the ifndef guard for headers was wrong. don't fix, just | 2015-01-07 | 1 | -5/+3 | |
| | | | | remove it, and put these includes up with their friends. | ||||
* | useless change. overwriting the nul byte with a newline means b64_ntop | 2014-12-29 | 1 | -2/+2 | |
| | | | | can use the whole buffer, even the last byte. | ||||
* | rename fingerprint struct field. no longer exposed to users, but since it's | 2014-12-29 | 1 | -11/+11 | |
| | | | | | | not technically a fingerprint as others understand the term, pick another. now it's a keynum! after an email from Florian Weimer | ||||
* | remove the inspect debug command. should not be used by users, who are not | 2014-12-29 | 1 | -37/+2 | |
| | | | | supposed to know what fingerprints are or that they exist. | ||||
* | Yet more #include de-duplication. | 2014-11-20 | 1 | -2/+1 | |
| | | | | ok deraadt@ tedu@ | ||||
* | compare snprintf return value with -1. this isn't really necessary because | 2014-07-13 | 1 | -16/+17 | |
| | | | | | | int promotion rules guarantee the correct result when compared with sizeof, but it is perhaps easier for some people to understand it this way. from Doug Hogan. | ||||
* | don't assign variables in if() that's not error checking | 2014-05-30 | 1 | -3/+5 | |
| | |||||
* | a little style consistency with error checking | 2014-05-30 | 1 | -11/+6 | |
| | |||||
* | save up the failures for the end in the argc == 0. | 2014-05-16 | 1 | -16/+16 | |
| | | | | help ok espie | ||||
* | a few changes for new code to match local style | 2014-05-16 | 1 | -11/+11 | |
| | |||||
* | checksum mode can use magic pubkey finder too | 2014-05-16 | 1 | -3/+3 | |
| | |||||
* | rework -C (perfect candidate for using hash tables, really): | 2014-05-16 | 1 | -72/+90 | |
| | | | | | | | | | | | insert files we want to check into a hash, parse SHA256 message on the fly, delete entries whose checksum match, then display entries that failed. This completely avoids allocating temporary storage for file names and checksums and removes the quadratic match (argv[i] vs line[n]). okay tedu@ | ||||
* | fix the band-aid error. | 2014-05-15 | 1 | -3/+3 | |
| | | | | | | | | tedu was bitten by the RETARDED interface in sha2.h (who names string LENGTH things that are actually buffer SIZES) ? make -C mode work again. okay beck@ | ||||
* | let cpp do some of the work | 2014-05-14 | 1 | -4/+5 | |
| | |||||
* | spell out base64 in error messages | 2014-05-14 | 1 | -4/+4 | |
| | |||||
* | save some memory by reducing buffer sizes | 2014-05-14 | 1 | -5/+5 | |
| | |||||
* | recode base64 hashes if necessary | 2014-05-14 | 1 | -1/+17 | |
| | |||||
* | realloc like a boss, so checksum verification doesn't take minutes. | 2014-05-14 | 1 | -5/+8 | |
| | |||||
* | temp variable for a bit of clarity | 2014-05-06 | 1 | -6/+6 | |
| | |||||
* | remove unneeded variable | 2014-05-06 | 1 | -4/+2 | |
| | |||||
* | factor out the safepath | 2014-05-06 | 1 | -2/+3 | |
| | |||||
* | be more explicit about what's a string | 2014-05-06 | 1 | -5/+5 | |
| | |||||
* | better alloc idiom | 2014-05-06 | 1 | -2/+2 | |
| | |||||
* | factor max message size | 2014-05-06 | 1 | -3/+4 | |
| | |||||
* | use reallocarray | 2014-04-22 | 1 | -3/+3 | |
| | |||||
* | errx when errno won't be set. | 2014-04-22 | 1 | -7/+7 | |
| | |||||
* | confirm passwords when generating keys | 2014-04-14 | 1 | -4/+13 | |
| | |||||
* | quiet time is over | 2014-03-17 | 1 | -3/+1 | |
| | |||||
* | clean up after ourselves. | 2014-03-17 | 1 | -1/+2 | |
| | | | | okay tedu@ | ||||
* | simplify readmsg loop | 2014-03-17 | 1 | -7/+6 | |
| | |||||
* | tweak a few messages | 2014-03-17 | 1 | -8/+8 | |
| | |||||
* | check memcmp return explicitly | 2014-03-17 | 1 | -6/+6 | |
| | |||||
* | pull out the pubkey reading bits | 2014-03-17 | 1 | -25/+24 | |
| | |||||
* | refactor and recombine verify functions. | 2014-03-17 | 1 | -36/+56 | |
| | |||||
* | move fingerprint check into verifymsg | 2014-03-17 | 1 | -21/+10 | |
| | | | | (stop printing fingerprints here; probably not that helpful) | ||||
* | clarify a variable or two; ok tedu | 2014-03-17 | 1 | -8/+8 | |
| | |||||
* | have to fill in comment before we can use it. | 2014-03-17 | 1 | -2/+2 | |
| | |||||
* | do filename check in the other place too. needs a refactor | 2014-03-16 | 1 | -1/+4 | |
| | |||||
* | resolve espie's complaints about appendall (maybe) by folding it into | 2014-03-16 | 1 | -16/+11 | |
| | | | | writeb64file. idea from deraadt | ||||
* | oops, forgot the err function here. noticed by Henri Kemppainen | 2014-03-16 | 1 | -2/+3 | |
| | |||||
* | we want strncmp here to be safer. spotted by halex. | 2014-03-16 | 1 | -2/+2 | |
| | |||||
* | grow buffer faster | 2014-03-16 | 1 | -2/+2 | |
| | |||||
* | tweak path checks. now you can create keys named ......pub | 2014-03-16 | 1 | -3/+3 | |
| | | | | by deraadt | ||||
* | prevent common(?) mistake. can't use a directory as a file | 2014-03-16 | 1 | -1/+4 | |
| | |||||
* | check the inferred path is in /etc/signify | 2014-03-16 | 1 | -3/+6 | |
| | |||||
* | start trusting the untrusted comment. (a little) | 2014-03-16 | 1 | -11/+32 | |
| | | | | embed the name of the verification key to save some typing |