aboutsummaryrefslogtreecommitdiff
path: root/src/libnpass
Commit message (Collapse)AuthorAgeFilesLines
* libnpass: refactor set_pass_dir to pass_store_path_setsinanmohd2024-04-221-44/+34
|
* libnpass/pass_gen_set: use static qualifiersinanmohd2024-04-221-3/+2
|
* npassd: initsinanmohd2024-04-201-1/+1
|
* c: improve error reportingsinanmohd2024-04-201-12/+12
|
* libnpass/openstore: use int instead of pass_store_t for error handlingsinanmohd2024-04-191-8/+7
|
* libnpass: readstore_all -> pass_readstore_allsinanmohd2024-04-181-1/+1
|
* c: improve error reportingsinanmohd2024-04-171-1/+1
|
* c: rename error reporting marcossinanmohd2024-04-173-49/+49
|
* npass: refactorsinanmohd2024-04-171-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: refactorsinanmohd2024-04-162-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 stringssinanmohd2024-04-161-1/+2
|
* libnpass/util: refactorsinanmohd2024-04-152-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: refactorsinanmohd2024-04-152-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 snprintfsinanmohd2024-04-122-26/+26
|
* libnpass: improve backward compatibility with original passsinanmohd2024-04-111-0/+16
|
* c: check string truncation when using snprintfsinanmohd2024-04-112-6/+11
|
* libnpass/util: fix off by one errorsinanmohd2024-04-111-2/+2
|
* c/format: initsinanmohd2024-04-113-69/+74
|
* libnpass/gpg: make key a NULL-terminated arraysinanmohd2024-04-111-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 whilesinanmohd2024-04-101-5/+7
| | | | https://man.openbsd.org/style
* c: declare local functions as staticsinanmohd2024-04-102-16/+16
|
* libnpass/readstore_all/len: PATH_MAX -> 64sinanmohd2024-04-101-1/+2
|
* src: avoid unnecessary sizeof() - 1sinanmohd2024-04-102-7/+7
|
* libnpass: better error messagessinanmohd2024-04-091-4/+10
|
* pass/ls: initsinanmohd2024-04-091-2/+168
|
* libnpass/pass_gen_set/PASS_GEN_PRINT: add missing upper alphabetsinanmohd2024-04-071-0/+1
|
* pass/gen: initsinanmohd2024-04-071-0/+36
|
* util: refactor error reportingsinanmohd2024-04-073-41/+41
|
* meson: split ./includesinanmohd2024-04-063-4/+7
|
* meson: keep source files under ./srcsinanmohd2024-04-064-0/+409