Prepare for release v0.2.6

This commit is contained in:
2025-04-21 18:17:53 -04:00
parent 34136633d9
commit b366d1e13e
6 changed files with 37 additions and 5 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
.TH MUTN 1 "22 February 2025" "v0.2.5" "MUTN man page"
.TH MUTN 1 "21 April 2025" "v0.2.6" "MUTN man page"
.SH NAME
\fBmutn\fR - Simple, self-hosted, SSH-synchronized password and note management based on libmutton. It is the successor to sshyp.
+31
View File
@@ -1,5 +1,36 @@
**WARNING: AS LIBMUTTON HAS NOT YET REACHED v1.0.0, [BREAKING CHANGES](https://github.com/rwinkhart/libmutton/blob/main/wiki/breaking.md) IN FUTURE UPDATES ARE PLANNED**
**MUTN v0.2.6**
Built with libmutton v0.3.1
April 21, 2025
# The Tripe Transmission Update - Patch 6
This release updates libmutton to v0.3.1 and brings in some minor bug fixes.
## libmutton-derived Changes
- See [libmutton's release notes](https://github.com/rwinkhart/libmutton/releases/tag/v0.3.1)
- Highlight feature: (34136633d93749bb75d680537ee2191a49d9d276) Added a new password generation option for moderately complex strings (better compatibility with many services than the previous complex passwords)
- The previous generator is still accessible as the "ultra complex" option
## Fixes
- (8166bfcfbe960d77b33e42de35fd0b31c9751039) Notes can once again be removed from entries
## Dependencies
- Bumps (direct and indirect)
- Go: v1.24.0 => 1.24.2
- github.com/rwinkhart/libmutton: v0.3.0 => v0.3.1
- golang.org/x/term: v0.29.0 => v0.31.0
- golang.org/x/crypto: v0.34.0 => v0.37.0
- golang.org/x/net: v0.35.0 => v0.39.0
- golang.org/x/sys: v0.30.0 => v0.32.0
- github.com/pkg/sftp: v1.13.7 => v1.13.9
- github.com/alecthomas/chroma/v2: v2.15.0 => v2.16.0
- github.com/yuin/goldmark: v1.7.8 => v1.7.10
- github.com/yuin/goldmark-emoji: v1.0.4 => v1.0.6
---
**MUTN v0.2.5**
Built with libmutton v0.3.0
February 22, 2025
+1 -1
View File
@@ -5,7 +5,7 @@ go 1.24.2
require (
github.com/Trojan2021/BEAN v0.0.0-20241210230804-8f294833b514
github.com/charmbracelet/glamour v0.7.0
github.com/rwinkhart/libmutton v0.3.1-0.20250421161738-8f23589459fc
github.com/rwinkhart/libmutton v0.3.1
golang.org/x/term v0.31.0
)
+2 -2
View File
@@ -59,8 +59,8 @@ github.com/rivo/uniseg v0.4.7 h1:WUdvkW8uEhrYfLC4ZzdpI2ztxP1I582+49Oc5Mq64VQ=
github.com/rivo/uniseg v0.4.7/go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUcx88=
github.com/rwinkhart/convertroman v0.2.0 h1:otUm939eXT77q/Lr31mJtMwVWEw0RjEUB71gO65h9OM=
github.com/rwinkhart/convertroman v0.2.0/go.mod h1:Af6HqvX0EIM4Y3HcnNXbbRey1dLasGB7WU0+3Cowgmw=
github.com/rwinkhart/libmutton v0.3.1-0.20250421161738-8f23589459fc h1:xUbRmy85WMhBiUqpz6+beihrbWbyeJMUbo5TnCzIui4=
github.com/rwinkhart/libmutton v0.3.1-0.20250421161738-8f23589459fc/go.mod h1:bI03SUAheTefZYcEv19Vg7hWsEamd3qjqTqlB/Z6YSw=
github.com/rwinkhart/libmutton v0.3.1 h1:VCaviTYLO8dif75ZjOJh1EZoaM2zH5U1CaYOa0qkW/E=
github.com/rwinkhart/libmutton v0.3.1/go.mod h1:bI03SUAheTefZYcEv19Vg7hWsEamd3qjqTqlB/Z6YSw=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw=
github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
+1 -1
View File
@@ -11,7 +11,7 @@ var (
)
const (
MUTNVersion = "0.2.G" // 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"
MUTNVersion = "0.2.6" // 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"
AnsiBold = "\033[1m"
ansiBlackOnWhite = "\033[38;5;0;48;5;15m"
+1
View File
@@ -67,6 +67,7 @@ func inputMenuGen(prompt string, options []string) int {
// inputPasswordGen prompts the user for password generation parameters and returns a generated password as a string.
func inputPasswordGen() string {
passLength := inputInt("Password length:", -1)
fmt.Println()
passCharset := uint8(inputMenuGen("Password complexity:", []string{"Simple", "Complex", "Ultra Complex (not compatible with many services)"}))
var complexity float64
switch passCharset {