summaryrefslogtreecommitdiff
path: root/internal/crypto
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-02-22 19:17:57 +0200
committerPaul Buetow <paul@buetow.org>2026-02-22 19:17:57 +0200
commitd629558394465b8956285edac324d67688ddd2c1 (patch)
treef511cf1ea87d916c11e85243361c366ae9843cd4 /internal/crypto
parent48280e828bc4737a91ed556226f7fdcb52679f87 (diff)
Rename binary from geheim to foostore
- go.mod: module path codeberg.org/snonux/geheim → codeberg.org/snonux/foostore - cmd/geheim/ → cmd/foostore/ - Magefile.go: binary/binaryName/mainPkg constants updated - internal/config: config file path ~/.config/geheim.json → ~/.config/foostore.json - All import paths and comments updated throughout - Delete geheim.rb (the original Ruby implementation, superseded by this Go rewrite) - CLAUDE.md rewritten to reflect the Go implementation, new binary name, build system (mage), and current package architecture Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'internal/crypto')
-rw-r--r--internal/crypto/crypto_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/crypto/crypto_test.go b/internal/crypto/crypto_test.go
index 556a12e..fb37d69 100644
--- a/internal/crypto/crypto_test.go
+++ b/internal/crypto/crypto_test.go
@@ -294,7 +294,7 @@ func TestEncryptGolden(t *testing.T) {
wantHex: "6190f985f42374d24dd8e17b3b2d6057",
},
{
- name: "Hello world / pin=abcd1234 / 64x 'y'",
+ name: "Hello world / pin=abcd1234 / 64x 'y'",
plaintext: []byte("Hello, world!"),
pin: "abcd1234",
// 64 bytes of 'y': key is already 2x the required 32 bytes so it gets truncated.