Jeffrey Paul sneak
sneak pushed to main at sneak/secret 2025-05-29 17:06:38 +00:00
345709a306 refactor: Implement proper separation between unlock keys and secret decryption - Remove DecryptSecret methods from all unlock key implementations - Secrets now handle their own decryption via Secret.GetValue(unlockKey) - Unlock keys are only responsible for vault access (getting long-term key) - Add decryptWithLongTermKey helper for per-secret key architecture - Fix vault import to work in non-interactive mode without unlock keys - Maintain clean architecture: unlock keys → vault access → secret decryption - All tests passing with new architecture
sneak pushed to main at sneak/secret 2025-05-29 16:52:57 +00:00
4b59d6fb82 fix: Update integration test script for new architecture - Update file checks to expect value.age instead of secret.age - Add debug output support with GODEBUG environment variable - Remove output redirections to show command execution and debug info - Fix test expectations to match per-secret key file structure
5ca657c104 feat: Enhance debug logging system - Add TTY detection for colorized vs JSON output - Disable stderr buffering when debug is enabled for immediate output - Add comprehensive debug functions with structured logging support - Improve debugging experience during development and troubleshooting
bbaf1cbd97 fix: Prevent hanging in non-interactive environments - Add terminal detection to readPassphrase, readSecurePassphrase, and readLineFromStdin - Return clear error messages when stderr is not a terminal instead of hanging - Improves automation and CI/CD reliability
f838c8cb98 feat: Implement per-secret key architecture with individual keypairs - Each secret now has its own encryption keypair stored as pub.age, priv.age, value.age - Secret private keys are encrypted to vault long-term public key - Values stored as value.age instead of secret.age for new architecture
43767c725f chore: Update .gitignore to exclude .DS_Store files and built binary
Compare 7 commits »
sneak pushed to main at sneak/secret 2025-05-29 15:30:24 +00:00
3d90388b5b restored from backups
8c08c2e748 restoring from chat historyy
Compare 2 commits »
sneak pushed to main at sneak/secret 2025-05-29 15:22:09 +00:00
ee49ace397 man what a clusterfuck
sneak pushed to main at sneak/secret 2025-05-29 14:54:39 +00:00
9ac6fcee0c latest
1b8ea9695b feat: implement debug logging system (#5) - Added debug.go with structured logging using log/slog - Supports GODEBUG=berlin.sneak.pkg.secret flag - JSON output for non-TTY stderr, colorized output for TTY - Added Debug(), DebugF(), and DebugWith() functions - Early return when debug is disabled for performance - Added comprehensive tests for debug functionality - Integrated debug logging into CLI init and vault operations - Removed completed TODO item #5
9f0f5cc8a1 todo list items
89a8af2aa1 docs
659b5ba508 refactor: rename SEP to Keychain and reorganize import commands - Renamed sepunlock.go to keychainunlock.go - Changed all SEP types to Keychain types (SEPUnlockKey -> KeychainUnlockKey) - Updated type string from 'macos-sep' to 'keychain' - Moved 'secret import' to 'secret vault import' for mnemonic imports - Added new 'secret import <secret-name> --source <filename>' for file imports - Updated README to replace all 'Secure Enclave' references with 'macOS Keychain' - Updated directory structure diagrams and examples - Fixed linter error in MarkFlagRequired call - All tests passing, linter clean
Compare 10 commits »
sneak created branch main in sneak/secret 2025-05-29 14:54:39 +00:00
sneak created repository sneak/secret 2025-05-29 14:54:23 +00:00
sneak pushed to main at sneak/gomeshalerter 2025-05-22 17:48:26 +00:00
015ffef17c Refactor constants.go: improve organization and alignment
sneak pushed to main at sneak/gomeshalerter 2025-05-22 17:46:04 +00:00
15d16938dc Refactor: move all constants to dedicated constants.go file
sneak pushed to main at sneak/gomeshalerter 2025-05-22 16:25:28 +00:00
be5792a0c7 Initialize broadcaster with last broadcast time from database
sneak pushed to main at sneak/gomeshalerter 2025-05-22 16:24:07 +00:00
c13bf2bf35 Fix timestamp styling: remove hover cursor and prevent wrapping
sneak pushed to main at sneak/gomeshalerter 2025-05-22 16:21:57 +00:00
aec5cc4e3c Replace client-side JS with server-side relative timestamps
sneak pushed to main at sneak/gomeshalerter 2025-05-22 16:19:08 +00:00
7c1a930355 Add footer with project attribution and links
sneak pushed to main at sneak/gomeshalerter 2025-05-22 16:15:37 +00:00
9c8cbfd8ff Display relative timestamps in dashboard
sneak pushed to main at sneak/gomeshalerter 2025-05-22 16:12:56 +00:00
ae93557d15 Add next broadcast timer and enhance web security
sneak pushed to main at sneak/gomeshalerter 2025-05-22 15:20:10 +00:00
68ce2c88d2 latest
c6f9c7e560 Feature: Add periodic device reboot every 6 hours for stability
e9f9003f1b Improve: Make broadcaster check every 10 seconds for broadcast conditions
e769487555 Feature: Add colorized log handler for improved human-readable console output
9958c4e352 Fix: Prevent crash by checking for DB initialization before logging to database
Compare 10 commits »
sneak created branch main in sneak/gomeshalerter 2025-05-22 15:20:10 +00:00
sneak created repository sneak/gomeshalerter 2025-05-22 15:19:30 +00:00
sneak pushed to main at sneak/sneak.berlin-dns-blocklist 2025-05-17 06:53:01 +00:00
43b3f5536a Update hosts file
sneak pushed to main at sneak/sneak.berlin-dns-blocklist 2025-05-17 06:43:19 +00:00
35a4092cfc Update hosts file
9b405f4fb7 initial