Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | libnpass/pass_gen_set: use static qualifier | sinanmohd | 2024-04-22 | 1 | -3/+2 |
| | |||||
* | npassd: init | sinanmohd | 2024-04-20 | 1 | -1/+1 |
| | |||||
* | c: improve error reporting | sinanmohd | 2024-04-20 | 1 | -12/+12 |
| | |||||
* | libnpass/openstore: use int instead of pass_store_t for error handling | sinanmohd | 2024-04-19 | 1 | -8/+7 |
| | |||||
* | libnpass: readstore_all -> pass_readstore_all | sinanmohd | 2024-04-18 | 1 | -1/+1 |
| | |||||
* | c: improve error reporting | sinanmohd | 2024-04-17 | 1 | -1/+1 |
| | |||||
* | c: rename error reporting marcos | sinanmohd | 2024-04-17 | 3 | -49/+49 |
| | |||||
* | npass: refactor | sinanmohd | 2024-04-17 | 1 | -8/+16 |
| | | | | | | | | 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: refactor | sinanmohd | 2024-04-16 | 2 | -158/+154 |
| | | | | | | | | 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/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 | 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 |