Skip to content

Commit f5a6350

Browse files
committed
Prepare for release v0.2.1
1 parent 4c54349 commit f5a6350

File tree

5 files changed

+38
-14
lines changed

5 files changed

+38
-14
lines changed

README.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,6 @@ libmutton is a library for building simple, SSH-synchronized password managers i
1212
See the [developer guide](https://github.com/rwinkhart/libmutton/blob/main/wiki/developers.md).
1313

1414
# Roadmap
15-
#### Release v0.2.1
16-
- [x] Only run getSSHClient once to prevent being asked for keyfile password multiple times
17-
- [x] After this, handle all errors in sync/client.go
18-
- [x] Ensure all config files and entry files are created with 0600 permissions
19-
- [x] Add error-specific exit codes
20-
- [x] Split into separate repos
21-
1. libmutton: backend package (rename to core), sync package, libmuttonserver
22-
2. MUTN: cli package
2315
#### Release v0.3.0
2416
- [ ] Swap to native (cascade) encryption (custom)
2517
- [ ] Implement "netpin" (quick-unlock) with new encryption

core/1globals.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ var (
99
)
1010

1111
const (
12+
LibmuttonVersion = "0.2.1" // untagged releases feature a letter suffix corresponding to the eventual release version, e.g "0.2.A" -> "0.2.0", "0.2.B" -> "0.2.1"
13+
1214
FSSpace = "\u259d" // ▝ space/list separator
1315
FSPath = "\u259e" // ▞ path separator
1416
FSMisc = "\u259f" // ▟ misc. field separator (if \u259d is already used)
@@ -27,6 +29,4 @@ const (
2729
ErrorEncryption = 109
2830
ErrorClipboard = 110
2931
ErrorOther = 111
30-
31-
LibmuttonVersion = "0.2.B" // untagged releases feature a letter suffix corresponding to the eventual release version, e.g "0.2.A" -> "0.2.0", "0.2.B" -> "0.2.1"
3232
)

docs/release-notes-archive/2024.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
**libmutton v0.2.1**
2+
August 13, 2024
3+
4+
## Breaking Changes
5+
- libmutton has been separated into its own repository and the "backend" package has been renamed to "core"
6+
- Clients now must pass the return value of core.DirInit (oldDeviceID) to sync.DeviceIDGen
7+
- This is for the new device ID replacement feature
8+
- (a1c9827c04bcf7da2baf59081885d0bf7d1c0ebc) The sync separator constants (FSSpace, FSPath, FSMisc) have been moved to the core package
9+
10+
## Features
11+
- (7d51d12b5518f29e5e6ae7615e546f0df6dee941) (be46b0d6b29a16f1a5dd9ae08a63069ac7626a12) Clients can now request the server to replace their old device ID when changing to a new one
12+
- (ed9c4e91ff67a27b9851a43bf9bed5fa404249b0) (4c54349b3929d7cc89e9fa051b89eaa6f4aeb6f0) Exit codes are now specific to the type of error encountered
13+
- (bb1ecc5bae8a004d1ae25705492be7d588aa5f7b) (cbf91397137c79a7e9483924a39ddecfab4817cc) More potential errors have been handled
14+
15+
## Fixes
16+
- (9f433374373297709f7aa3b28e0204b46f67cd82) (e861b2b6f3e110ce7703b5c50d23b23787f22450) The SSH client is now only created once during RunJob (prevents multiple password prompts with protected keyfiles)
17+
- (88b7a6be6d915aeee1b3e4ba52248a428e41bc3c) Config/entry files are now created with 0600 permissions
18+
- (d67114b9ba6bd7a5888b843f25673bf80550bd54) The TOTP copy message is no longer unnecessarily verbose
19+
- (06b9527a3373d8a677f93bccea447d45ea794c6a) Function documentation is now properly formatted for display on pkg.go.dev
20+
21+
## Dependencies
22+
- Bumps (direct and indirect)
23+
- golang.org/x/sys: v0.23.0 => v0.24.0

packaging/binaryGen.sh

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#!/bin/sh
2+
# This script generates portable libmuttonserver release binaries for the following platforms:
3+
# - Linux (x86_64_v1)
4+
# - Linux (aarch64)
5+
# - Windows (x86_64_v1)
6+
# - Windows (aarch64)
7+
8+
mkdir -p ./1output
9+
cd ..
10+
GOOS=linux CGO_ENABLED=0 GOAMD64=v1 go build -o ./packaging/1output/libmuttonserver-linux-x86_64_v1 -ldflags="-s -w" -trimpath ./libmuttonserver.go
11+
GOOS=linux GOARCH=arm64 CGO_ENABLED=0 go build -o ./packaging/1output/libmuttonserver-linux-aarch64 -ldflags="-s -w" -trimpath ./libmuttonserver.go
12+
GOOS=windows CGO_ENABLED=0 GOAMD64=v1 go build -o ./packaging/1output/libmuttonserver-windows-x86_64_v1.exe -ldflags="-s -w" -trimpath ./libmuttonserver.go
13+
GOOS=windows GOARCH=arm64 CGO_ENABLED=0 go build -o ./packaging/1output/libmuttonserver-windows-aarch64.exe -ldflags="-s -w" -trimpath ./libmuttonserver.go

wiki/bugs.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
11
## Known Bugs - libmutton
22
- On Windows, GPG is sometimes (seems unpredictable) incredibly slow to start (often after a reboot), leading to many operations seemingly hanging
33
- **This will be addressed** in the migration off of GPG that will take place before v1.0.0
4-
- ~~If a client is reconfigured to use a new device ID, the old one will remain present on the server. This will not cause any immediate issues, however it will lead to the server creating unnecessary deletions files for the old device ID. Currently, it is recommended to manually delete the old device ID from the server's "devices" directory.~~
5-
- **Addressed** for v0.2.1
6-
- ~~Using a password-protected SSH identity file will prompt for the key's password multiple times when syncing~~
7-
- **Addressed** for v0.2.1
84
- Password-protected SSH identity files currently only prompt for password entry in the CLI, and thus they are not yet supported in GUI/TUI implementations

0 commit comments

Comments
 (0)