From bafab423f20bc1448b293842c235965e1681f07e Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Mon, 4 Mar 2013 08:52:33 +0100 Subject: Mark several functions/variables static Spotted by parsing the output of `gcc -Wmissing-prototypes [...]`. Signed-off-by: Lukas Fleischer --- cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cache.c') diff --git a/cache.c b/cache.c index 47cdcb4..3127fc2 100644 --- a/cache.c +++ b/cache.c @@ -363,7 +363,7 @@ int cache_process(int size, const char *path, const char *key, int ttl, /* Return a strftime formatted date/time * NB: the result from this function is to shared memory */ -char *sprintftime(const char *format, time_t time) +static char *sprintftime(const char *format, time_t time) { static char buf[64]; struct tm *tm; -- cgit v1.2.3-70-g09d2 6d7e95db06343caa5ad3075734603d27769c3'/> The standard unix password manager + extensionsRené 'Necoro' Neumann
summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorFilesLines
2014-03-19Team pass: enable multiple keys and per directoryJason A. Donenfeld2-40/+75
The .gpg-id file may now have multiple keys in it, one per line. If a .gpg-id file exists inside a subdirectory, passwords inside that directory are encrypted to that/those ids. The init command has learned a -p/--path option for writing such a sub directory .gpg-id and now can take several arguments for ids.
2014-03-18Shred shm files.Jason A. Donenfeld3-1/+4
2014-03-18Do not compress passwords.Jason A. Donenfeld1-1/+1
According to a forthcoming paper by Alfredo Pironti, OpenPGP compression can reveal entropy levels. We thus disable compression. Existing password stores can be reencrypted without compression using the "--reencrypt" flag for "init". Reported-by: Alfredo Pironti <alfredo.pironti@inria.fr> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2013-09-14Use a glob in the pattern match instead of using two comparisons for [yY].Chris Down1-1/+1
2013-09-14Rephrase awkward/confusing message about enabling echo during password entry.Chris Down1-3/+3
2013-09-14Fix directory traversal for reencryption when $PREFIX is a symlinkBrian Shore1-1/+1
2013-08-26Makefile: Do not install bash completion to /etcLukas Fleischer1-3/+2
`make install` should never install anything to /etc. "/usr/share/bash-completion/completions/" is the right place for completions that are installed by software packages. Signed-off-by: Lukas Fleischer <info@cryptocrack.de>
2013-05-22check if a passfile exists before checking for directoryBrian Mattern1-13/+12