aboutsummaryrefslogtreecommitdiff
path: root/src/libnpass/gpg.c
Commit message (Collapse)AuthorAgeFilesLines
* c: rename error reporting marcossinanmohd2024-04-171-4/+4
|
* libnpass: refactorsinanmohd2024-04-161-7/+1
| | | | | | | | 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-151-31/+64
| | | | | | | | | | 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/format: initsinanmohd2024-04-111-12/+11
|
* 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-101-4/+4
|
* util: refactor error reportingsinanmohd2024-04-071-18/+18
|
* meson: split ./includesinanmohd2024-04-061-2/+2
|
* meson: keep source files under ./srcsinanmohd2024-04-061-0/+130