Skip to content

Commit 8f23589

Browse files
committed
Prepare for release v0.3.1
1 parent 1dff1f4 commit 8f23589

File tree

4 files changed

+37
-11
lines changed

4 files changed

+37
-11
lines changed

README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,13 @@ 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.3.0
16-
- [ ] Add refresh/re-encrypt functionality
1715
#### Release v0.4.0
18-
- [ ] Password aging support
19-
- [ ] Append UNIX timestamp to entry names
20-
#### Release v0.5.0
2116
- [ ] Swap to native (cascade) encryption (custom)
17+
- [ ] Add refresh/re-encrypt functionality
18+
#### Release v0.5.0
2219
- [ ] Implement "netpin" (quick-unlock) with new encryption
20+
- [ ] Password aging support
21+
- [ ] Append UNIX timestamp to entry names
2322
#### Release v1.0.0
2423
- [ ] Create packaging scripts (libmuttonserver)
2524
- [ ] Stable source PKGBUILD

core/1globals.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ var (
1212
)
1313

1414
const (
15-
LibmuttonVersion = "0.3.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"
15+
LibmuttonVersion = "0.3.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"
1616

1717
FSSpace = "\u259d" // ▝ Space/list separator
1818
FSPath = "\u259e" // ▞ Path separator

core/utilitiesMisc.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ func EntryAddPrecheck(targetLocation string) uint8 {
131131

132132
// StringGen generates a random string of a specified length and complexity.
133133
// Requires: complexity (minimum percentage of special characters to be returned in the generated string; set to 0 to generate a simple string),
134-
// complexCharsetLevel (0 = safe for filenames, 1 = safe for most password entries, 2 = safe only for well-made password entries)
134+
// complexCharsetLevel (1 = safe for filenames, 2 = safe for most password entries, 3 = safe only for well-made password entries)
135135
func StringGen(length int, complexity float64, complexCharsetLevel uint8) string {
136136
var actualSpecialChars int // track the number of special characters in the generated string
137137
var minSpecialChars int // track the minimum number of special characters to accept
@@ -145,11 +145,11 @@ func StringGen(length int, complexity float64, complexCharsetLevel uint8) string
145145
if complexity > 0 {
146146
minSpecialChars = int(math.Round(float64(length) * complexity)) // determine minimum number of special characters to accept
147147
switch complexCharsetLevel {
148-
case 0:
149-
extendedCharset = extendedCharsetFiles
150148
case 1:
151-
extendedCharset = extendedCharsetMostPassword + extendedCharsetFiles[:len(extendedCharsetFiles)-9]
149+
extendedCharset = extendedCharsetFiles
152150
case 2:
151+
extendedCharset = extendedCharsetMostPassword + extendedCharsetFiles[:len(extendedCharsetFiles)-9]
152+
case 3:
153153
extendedCharset = extendedCharsetFiles + extendedCharsetMostPassword + extendedCharsetSpecialPassword
154154
}
155155
charset += extendedCharset

docs/release-notes-archive/2025.md

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,31 @@
1+
**libmutton v0.3.1**
2+
April 21, 2025
3+
4+
## Features
5+
- (da95ede80704e667f75372e2142de4cef1dd42da) Added `EntryAddPrecheck()` utility function for ensuring the target locations for new entries are valid
6+
- (17223758b11eae301106f398fe2a8815a04f2d62) (44924737ab0830ad49e90c1d1930b05bba307284) (0f90e8251413af2be73f56d071c14af6c00cdb79) Added initial native Android support
7+
- (51bb67f3150e70c2c8e8dc3cc72de5666d7c058a) Split device ID retrieval into dedicated exported function, `GetCurrentDeviceID`
8+
- (4ed816cb112686d995b1cb7ae8f5df990117ae4d) Allow more control over string generation to improve generated password compatibility
9+
10+
## Fixes
11+
- (51bb67f3150e70c2c8e8dc3cc72de5666d7c058a) Fixed clients having multiple device IDs after failed registrations
12+
- (451d695649c659a510a117254a9311fe621082b1) Fixed inability to add a folder on the server if the folder was already created on a client that failed to sync
13+
14+
## Dependencies
15+
- Bumps (direct and indirect)
16+
- Go: v1.24.0 => v1.24.2
17+
- github.com/pkg/sftp: v1.13.7 => v1.13.9
18+
- golang.org/x/crypto: v0.34.0 => v0.37.0
19+
- golang.org/x/sys: v0.30.0 => v0.32.0
20+
- New
21+
- Android builds only
22+
- golang.design/x/clipboard v0.7.0
23+
- golang.org/x/exp/shiny v0.0.0-20250408133849-7e4ce0ab07d0
24+
- golang.org/x/image v0.26.0
25+
- golang.org/x/mobile v0.0.0-20250408133729-978277e7eaf7
26+
27+
---
28+
129
**libmutton v0.3.0**
230
February 22, 2025
331

@@ -12,7 +40,6 @@ February 22, 2025
1240
- (2feeeb74d7813dbbb75795d5ccdd817bbcea3602) `core.ParseConfig` now returns errors for proper handling in interactive clients
1341
- (68e3108741fae0aaf316dcf33a5074b0e19a7b4f) `sync.RunJob` can now return lists of synchronized entries for display in interactive clients
1442

15-
1643
## Fixes
1744
- (eb2b349697ede136ea031cf7d82bfb72a5a0dcf9) Deletions are now synchronized before folders to avoid sync failures under unlikely conditions
1845
- (fc1cd349b8c5468afa3feaf7b5b9042eb4c467e7) Double-space line breaks with Markdown formatting are now preserved when saving an entry

0 commit comments

Comments
 (0)