Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | libnpass/util/util_strtrim: safely handle 0 length C strings | sinanmohd | 2024-04-16 | 1 | -1/+2 |
| | |||||
* | libnpass/util: refactor | sinanmohd | 2024-04-15 | 2 | -20/+25 |
| | | | | | | | | https://www.kernel.org/doc/html/v4.10/process/coding-style.html - Function return values and names (-Exxx = failure, 0 = success) for imperative commands (0 = failure, non-zero = success) for predicates | ||||
* | libnpass/gpg: refactor | sinanmohd | 2024-04-15 | 2 | -35/+68 |
| | | | | | | | | | | https://www.kernel.org/doc/html/v4.10/process/coding-style.html - Centralized exiting of functions (goto cleanup) - Function return values and names (-Exxx = failure, 0 = success) for imperative commands (0 = failure, non-zero = success) for predicates - avoid macros that affect control flow | ||||
* | c: properly handle return value of snprintf | sinanmohd | 2024-04-12 | 3 | -28/+28 |
| | |||||
* | libnpass: improve backward compatibility with original pass | sinanmohd | 2024-04-11 | 1 | -0/+16 |
| | |||||
* | c: check string truncation when using snprintf | sinanmohd | 2024-04-11 | 3 | -9/+16 |
| | |||||
* | libnpass/util: fix off by one error | sinanmohd | 2024-04-11 | 1 | -2/+2 |
| | |||||
* | c/format: init | sinanmohd | 2024-04-11 | 4 | -86/+92 |
| | |||||
* | meson/test/npass: init | sinanmohd | 2024-04-11 | 1 | -1/+3 |
| | |||||
* | libnpass/gpg: make key a NULL-terminated array | sinanmohd | 2024-04-11 | 1 | -6/+6 |
| | | | | | | | | | | GPGME_DEBUG to the rescue. this bug caused pass gen and add to fail when building with gcc and optimization set to anything other than 0. https://www.gnupg.org/documentation/manuals/gpgme/Encrypting-a-Plaintext.html > Function: gpgme_error_t gpgme_op_encrypt ... > ... > recp must be a NULL-terminated array of keys | ||||
* | c: wrap multi line macros inside do while | sinanmohd | 2024-04-10 | 1 | -5/+7 |
| | | | | https://man.openbsd.org/style | ||||
* | npass/gen: only append newline if stdout isatty | sinanmohd | 2024-04-10 | 1 | -1/+1 |
| | |||||
* | libnpass: define PASS_DEF_LEN | sinanmohd | 2024-04-10 | 1 | -1/+1 |
| | |||||
* | npass/help: follow bsd style usage patterns | sinanmohd | 2024-04-10 | 1 | -12/+13 |
| | | | | https://man.openbsd.org/style | ||||
* | c: declare local functions as static | sinanmohd | 2024-04-10 | 3 | -26/+26 |
| | |||||
* | npass/ls: remove depth_state from args and make it static | sinanmohd | 2024-04-10 | 1 | -6/+7 |
| | |||||
* | npass/main: better error repotting | sinanmohd | 2024-04-10 | 1 | -1/+1 |
| | |||||
* | libnpass/readstore_all/len: PATH_MAX -> 64 | sinanmohd | 2024-04-10 | 1 | -1/+2 |
| | |||||
* | npass/ls/depth_state_len: NAME_MAX -> 16 | sinanmohd | 2024-04-10 | 1 | -3/+4 |
| | |||||
* | src: avoid unnecessary sizeof() - 1 | sinanmohd | 2024-04-10 | 3 | -8/+8 |
| | |||||
* | npass: better mimic behaviour of the original pass | sinanmohd | 2024-04-09 | 1 | -8/+17 |
| | |||||
* | libnpass: better error messages | sinanmohd | 2024-04-09 | 1 | -4/+10 |
| | |||||
* | pass/ls: init | sinanmohd | 2024-04-09 | 2 | -3/+238 |
| | |||||
* | libnpass/pass_gen_t: PASS_GEN_PRINT -> PASS_GEN_GRAPH | sinanmohd | 2024-04-08 | 1 | -5/+5 |
| | |||||
* | libnpass/pass_gen_set/PASS_GEN_PRINT: add missing upper alphabet | sinanmohd | 2024-04-07 | 1 | -0/+1 |
| | |||||
* | libnpass/pass_gen_t: PASS_GEN_ALPHA -> PASS_GEN_ALNUM | sinanmohd | 2024-04-07 | 1 | -1/+1 |
| | |||||
* | pass/gen: init | sinanmohd | 2024-04-07 | 2 | -1/+86 |
| | |||||
* | util: refactor error reporting | sinanmohd | 2024-04-07 | 4 | -53/+54 |
| | |||||
* | meson: split ./include | sinanmohd | 2024-04-06 | 4 | -5/+8 |
| | |||||
* | meson: keep source files under ./src | sinanmohd | 2024-04-06 | 6 | -0/+550 |