Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | npassd/collection: init | sinanmohd | 2024-04-28 | 10 | -18/+444 |
| | |||||
* | npassd/session: refactor | sinanmohd | 2024-04-27 | 4 | -70/+82 |
| | | | | - mak use of list(3) | ||||
* | npassd/service/SearchItems: init stub | sinanmohd | 2024-04-22 | 1 | -0/+11 |
| | |||||
* | npassd/db: init | sinanmohd | 2024-04-22 | 8 | -1/+71 |
| | |||||
* | libnpass: refactor set_pass_dir to pass_store_path_set | sinanmohd | 2024-04-22 | 3 | -59/+54 |
| | |||||
* | flake/shell/pkgs: rm self.packages | sinanmohd | 2024-04-22 | 1 | -2/+0 |
| | |||||
* | libnpass/pass_gen_set: use static qualifier | sinanmohd | 2024-04-22 | 1 | -3/+2 |
| | |||||
* | npassd/session/close: only allow owner to close session | sinanmohd | 2024-04-21 | 1 | -1/+10 |
| | |||||
* | npassd/session: free session when owner service disconnects from the bus | sinanmohd | 2024-04-21 | 3 | -10/+63 |
| | |||||
* | npassd/service/open_session: change replay type, vs -> vo | sinanmohd | 2024-04-21 | 1 | -1/+1 |
| | |||||
* | npassd: init | sinanmohd | 2024-04-20 | 11 | -9/+308 |
| | |||||
* | c: improve error reporting | sinanmohd | 2024-04-20 | 2 | -13/+13 |
| | |||||
* | flake: bump flake.lock | sinanmohd | 2024-04-19 | 1 | -3/+3 |
| | |||||
* | 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 | 3 | -3/+3 |
| | |||||
* | npass/ls: make sure ret is initialized | sinanmohd | 2024-04-17 | 1 | -0/+1 |
| | |||||
* | npass: DEF_DEPTTH -> DEF_DEPTH | sinanmohd | 2024-04-17 | 1 | -4/+4 |
| | |||||
* | c: improve error reporting | sinanmohd | 2024-04-17 | 2 | -3/+6 |
| | |||||
* | c: rename error reporting marcos | sinanmohd | 2024-04-17 | 5 | -69/+69 |
| | |||||
* | npass: refactor | sinanmohd | 2024-04-17 | 4 | -74/+97 |
| | | | | | | | | 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 | 4 | -164/+157 |
| | | | | | | | | 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 | 3 | -21/+26 |
| | | | | | | | | 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 |
| | |||||
* | readme/installation/meson: set buildtype to release | sinanmohd | 2024-04-11 | 1 | -1/+1 |
| | |||||
* | 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 | 9 | -97/+119 |
| | |||||
* | meson/test/npass: init | sinanmohd | 2024-04-11 | 2 | -1/+4 |
| | |||||
* | 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 | 2 | -9/+12 |
| | | | | 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 | 2 | -1/+3 |
| | |||||
* | 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 |
| | |||||
* | readme/installation/nix: init | sinanmohd | 2024-04-10 | 1 | -5/+14 |
| | |||||
* | flake/pkgs/npass: init | sinanmohd | 2024-04-10 | 2 | -4/+42 |
| | |||||
* | npass/ls: remove depth_state from args and make it static | sinanmohd | 2024-04-10 | 1 | -6/+7 |
| | |||||
* | flake/shell/pkgs: add ccls | sinanmohd | 2024-04-10 | 1 | -1/+1 |
| | |||||
* | 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 |
| | |||||
* | readme: add npass.png | sinanmohd | 2024-04-10 | 1 | -0/+2 |
| | |||||
* | 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 | 5 | -5/+261 |
| | |||||
* | libnpass/pass_gen_t: PASS_GEN_PRINT -> PASS_GEN_GRAPH | sinanmohd | 2024-04-08 | 2 | -6/+6 |
| |