Commit Graph
67 Commits
Author SHA1 Message Date
RandyTheSilly 8318b2e325 Attempt to fix unexpected EOF on Solaris 2026-05-29 19:04:38 -04:00
RandyTheSilly ba4a2c8396 Bump peercred-mini 2026-05-29 17:49:35 -04:00
RandyTheSilly 718a2676c2 Add Solaris support 2026-05-29 17:42:58 -04:00
RandyTheSilly e79adb82a0 Bump go-boilerplate and peercred-mini 2026-02-13 17:34:02 -05:00
RandyTheSilly e8ef243e87 Make input zeroization optional 2026-02-10 23:34:30 -05:00
RandyTheSilly ddd7f893e9 Fix password being zeroized in RunSanityCheck() 2026-02-10 21:54:34 -05:00
RandyTheSilly f49248930b Rename all occurrences of "passphrase" to "password" 2026-02-10 21:14:49 -05:00
RandyTheSilly 1745b85662 Use defer to close binary hash subject 2026-02-10 00:36:32 -05:00
RandyTheSilly c5e259a446 Significant hardening (always work on bytes; zeroize everything); address JetBrains warnings 2026-02-10 00:33:56 -05:00
RandyTheSilly 4fd72b0042 Tidy signal capturing; bump dependencies 2026-02-09 22:59:24 -05:00
RandyTheSilly 57eefdf8b4 Return error from wrappers.Decrypt() if Argon2 salt is not present 2026-01-25 15:57:26 -05:00
RandyTheSilly 2520e2459e Bump golang.org/x/crypto to address CVE-2025-58181 and CVE-2025-47914 2025-11-23 03:45:33 -05:00
RandyTheSilly 1e59bf01a5 Bump dependencies; switch to tagged go-winio fork 2025-11-09 15:40:18 -05:00
RandyTheSilly b96fe34a54 Bump Go to v1.24.6; bump dependencies 2025-08-17 13:10:23 -04:00
RandyTheSilly 400edc7c63 Bump dependencies 2025-06-19 18:07:54 -04:00
RandyTheSilly 4210673b84 Make server timeout configurable at compile time 2025-05-19 20:22:46 -04:00
RandyTheSilly 8907fdc36e Optimize salt+nonce appends 2025-05-19 20:10:03 -04:00
RandyTheSilly 0e7a796bb1 Derive HKDF keys (per algo) from primary key: roughly doubles time/security efficiency 2025-05-19 19:59:57 -04:00
RandyTheSilly 13ae080af2 Define socketPath for interactive clients 2025-05-12 21:57:37 -04:00
RandyTheSilly 4bcff52758 Fix build conflict 2025-05-11 16:41:03 -04:00
RandyTheSilly 4ddd3cf32c Set socketPath for Termux 2025-05-11 16:38:41 -04:00
RandyTheSilly 7ceea99f35 Set static thread count; add sanity check before encryption on example program 2025-05-11 10:58:47 -04:00
RandyTheSilly d7ed4def86 Bump peercred-mini to v0.1.0 2025-05-11 10:48:27 -04:00
RandyTheSilly b49d9f1eea Remove warnings about using Decrypt/Encrypt directly 2025-05-08 19:40:41 -04:00
RandyTheSilly f447c8a28b Remove functions that go against usage guidelines 2025-05-08 20:26:11 +00:00
RandyTheSilly d324e62474 Specify and solidify usage modes 2025-05-08 20:18:31 +00:00
RandyTheSilly 9d7417e26d Add RPC function for encrypting data 2025-05-08 19:46:18 +00:00
RandyTheSilly d4845e53ad Improve example usage info 2025-05-08 18:52:54 +00:00
RandyTheSilly e7f041bb0a Make daemon return decrypted data, not passphrase 2025-05-08 18:47:35 +00:00
RandyTheSilly 949ef622c7 Remove Scrypt 2025-05-08 17:36:04 +00:00
RandyTheSilly ac5314396e Use multiple KDFs (add Scrypt for AES256) 2025-05-08 17:26:12 +00:00
RandyTheSilly ce0b5d4bf5 Initial tuning of argon2 2025-05-08 16:31:17 +00:00
RandyTheSilly 6a40f9e627 Close listener when daemon is killed due to failed RPC auth 2025-05-08 16:03:36 +00:00
RandyTheSilly e8403315a8 Ignore unused error 2025-05-08 14:28:36 +00:00
RandyTheSilly eda92fccdd Use all available threads for argon2 2025-05-08 14:17:52 +00:00
RandyTheSilly 5975c71b4f Ensure listener is closed even if the daemon is killed unexpectedly 2025-05-04 20:03:23 -04:00
RandyTheSilly 9314852f06 Add high-level function for calling the daemon if it is open 2025-05-04 19:38:45 -04:00
RandyTheSilly 0479447f14 Add documentation for high-level functions 2025-05-04 17:47:13 -04:00
RandyTheSilly f176d57b6b Rename module path for importability 2025-05-04 14:37:41 -04:00
RandyTheSilly 6c328ba772 Clarify RPC auth & add basic usage info 2025-05-03 20:25:19 -04:00
RandyTheSilly f4be53f615 Add README.md 2025-05-03 20:21:10 -04:00
RandyTheSilly 5a2f2ace85 Add constants for files used by example program 2025-05-03 20:10:43 -04:00
RandyTheSilly ec358c6d0c Implement sanity check in example program 2025-05-03 20:05:02 -04:00
RandyTheSilly baad84563e Add sanity check to prevent data loss in the event the user mistypes their passphrase during encryption 2025-05-03 19:36:23 -04:00
RandyTheSilly e4ae5b4a9d Add high-level Decrypt() and Encrypt() functions for use by importing applications 2025-05-03 19:34:26 -04:00
RandyTheSilly 18ea71e7e4 Correct constant comment 2025-05-03 18:49:23 -04:00
RandyTheSilly 55c54acfcc Correct example.go usage information 2025-05-03 18:46:54 -04:00
RandyTheSilly 111d70596a Give error handling control to importing applications 2025-05-03 18:42:55 -04:00
RandyTheSilly 146901a479 Implement AES256+GCM encryption/decryption (cascading) 2025-05-03 18:13:40 -04:00
RandyTheSilly b93acdcaef Improved decryption error messages 2025-05-03 17:17:14 -04:00
RandyTheSilly 84bd8c3a42 Initial encryption/decryption via ChaCha20-Poly1305 2025-05-03 17:13:09 -04:00
RandyTheSilly 9b106e8147 Share client code for Call() 2025-05-03 15:03:53 -04:00
RandyTheSilly 9458656bdd Move "daemonIsOpen" to "2server.go" 2025-04-13 18:01:24 -04:00
RandyTheSilly dc262c87e8 Implement serving passphrase from daemon 2025-04-13 17:55:57 -04:00
RandyTheSilly a5108bc6cc Implement inactivity timer on Windows 2025-04-12 19:53:02 -04:00
RandyTheSilly 1f6c25f541 Bump peercred-mini to complete initial Windows support (still need timeout) 2025-04-06 23:36:51 -04:00
RandyTheSilly 256cad2331 Implement daemon auth on Windows 2025-04-06 23:04:12 -04:00
RandyTheSilly 28ce85854c Make Windows daemon functional (missing auth and timeout) 2025-04-05 19:09:18 -04:00
RandyTheSilly 6d9989b53a Incomplete Windows daemon support 2025-04-05 18:54:27 -04:00
RandyTheSilly 94868f6bad Bump peercred-mini 2025-04-05 15:28:52 -04:00
RandyTheSilly 107f4bcf02 Add MacOS support 2025-04-05 00:08:23 -04:00
RandyTheSilly 5369c3aa44 Fix pidToPath on FreeBSD 2025-04-04 21:59:46 -04:00
RandyTheSilly 4fa746ddce Bump peercred-mini to add FreeBSD (13+) support 2025-04-04 21:36:30 -04:00
RandyTheSilly fde10f69f5 Use "peercred-mini" module to get ucreds (enables greater platform support) 2025-04-04 00:53:09 -04:00
RandyTheSilly 3767db2575 Only respond to RPC calls from the same user as the daemon process 2025-04-02 00:28:48 -04:00
RandyTheSilly e3d5c83968 Move daemon code to dedicated package 2025-04-02 00:18:18 -04:00
RandyTheSilly 1cd123ab31 Initial code commit (credentials daemon) 2025-04-02 00:10:20 -04:00