From b366d1e13ef005ec5db8accf87207db70d28a94b Mon Sep 17 00:00:00 2001 From: Randall Winkhart Date: Mon, 21 Apr 2025 18:17:53 -0400 Subject: [PATCH] Prepare for release v0.2.6 --- docs/man | 2 +- docs/release-notes-archive/2025.md | 31 ++++++++++++++++++++++++++++++ go.mod | 2 +- go.sum | 4 ++-- src/cli/1globals.go | 2 +- src/cli/utilitiesMisc.go | 1 + 6 files changed, 37 insertions(+), 5 deletions(-) diff --git a/docs/man b/docs/man index 5183f57..9c0ba40 100644 --- a/docs/man +++ b/docs/man @@ -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. diff --git a/docs/release-notes-archive/2025.md b/docs/release-notes-archive/2025.md index 70e3172..4c463b0 100644 --- a/docs/release-notes-archive/2025.md +++ b/docs/release-notes-archive/2025.md @@ -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 diff --git a/go.mod b/go.mod index a333b11..316229d 100644 --- a/go.mod +++ b/go.mod @@ -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 ) diff --git a/go.sum b/go.sum index 10229c3..8c0949f 100644 --- a/go.sum +++ b/go.sum @@ -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= diff --git a/src/cli/1globals.go b/src/cli/1globals.go index c40e800..ec4340d 100644 --- a/src/cli/1globals.go +++ b/src/cli/1globals.go @@ -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" diff --git a/src/cli/utilitiesMisc.go b/src/cli/utilitiesMisc.go index ff335cc..f786e15 100644 --- a/src/cli/utilitiesMisc.go +++ b/src/cli/utilitiesMisc.go @@ -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 {