Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | 2 | -26/+26 |
| | |||||
* | 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 | 2 | -6/+11 |
| | |||||
* | libnpass/util: fix off by one error | sinanmohd | 2024-04-11 | 1 | -2/+2 |
| | |||||
* | c/format: init | sinanmohd | 2024-04-11 | 3 | -69/+74 |
| | |||||
* | 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 | ||||
* | c: declare local functions as static | sinanmohd | 2024-04-10 | 2 | -16/+16 |
| | |||||
* | libnpass/readstore_all/len: PATH_MAX -> 64 | sinanmohd | 2024-04-10 | 1 | -1/+2 |
| | |||||
* | src: avoid unnecessary sizeof() - 1 | sinanmohd | 2024-04-10 | 2 | -7/+7 |
| | |||||
* | libnpass: better error messages | sinanmohd | 2024-04-09 | 1 | -4/+10 |
| | |||||
* | pass/ls: init | sinanmohd | 2024-04-09 | 1 | -2/+168 |
| | |||||
* | libnpass/pass_gen_set/PASS_GEN_PRINT: add missing upper alphabet | sinanmohd | 2024-04-07 | 1 | -0/+1 |
| | |||||
* | pass/gen: init | sinanmohd | 2024-04-07 | 1 | -0/+36 |
| | |||||
* | util: refactor error reporting | sinanmohd | 2024-04-07 | 3 | -41/+41 |
| | |||||
* | meson: split ./include | sinanmohd | 2024-04-06 | 3 | -4/+7 |
| | |||||
* | meson: keep source files under ./src | sinanmohd | 2024-04-06 | 4 | -0/+409 |