mirror of
https://github.com/rwinkhart/MUTN.git
synced 2026-09-06 00:57:15 -04:00
Sync with latest libmutton development version
This commit is contained in:
@@ -5,7 +5,7 @@ go 1.25.6
|
|||||||
require (
|
require (
|
||||||
github.com/charmbracelet/glamour v0.7.0
|
github.com/charmbracelet/glamour v0.7.0
|
||||||
github.com/rwinkhart/go-boilerplate v0.2.2
|
github.com/rwinkhart/go-boilerplate v0.2.2
|
||||||
github.com/rwinkhart/libmutton v0.4.3-0.20260125212733-02fc5c1ffa78
|
github.com/rwinkhart/libmutton v0.4.3-0.20260125215941-ec9c6b506232
|
||||||
golang.org/x/term v0.39.0
|
golang.org/x/term v0.39.0
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -50,8 +50,8 @@ github.com/rwinkhart/go-highlite v0.1.1 h1:9TxbRhYVfD/3YaEgNk1BtEiZ0t8/5mxDUZqNM
|
|||||||
github.com/rwinkhart/go-highlite v0.1.1/go.mod h1:mWLMtCWcyV0BG4NeyPyAUGMjPvI0ds6vXmUq89QwBFA=
|
github.com/rwinkhart/go-highlite v0.1.1/go.mod h1:mWLMtCWcyV0BG4NeyPyAUGMjPvI0ds6vXmUq89QwBFA=
|
||||||
github.com/rwinkhart/go-winio v0.1.0 h1:b72agLW+dETGmhR3VbcbwnStfgKfc5AfgJOXBJDkaHg=
|
github.com/rwinkhart/go-winio v0.1.0 h1:b72agLW+dETGmhR3VbcbwnStfgKfc5AfgJOXBJDkaHg=
|
||||||
github.com/rwinkhart/go-winio v0.1.0/go.mod h1:ZWa7ssZJT30CCDGJ7fk/2SBTq9BIQrrVjrcss0UW2s0=
|
github.com/rwinkhart/go-winio v0.1.0/go.mod h1:ZWa7ssZJT30CCDGJ7fk/2SBTq9BIQrrVjrcss0UW2s0=
|
||||||
github.com/rwinkhart/libmutton v0.4.3-0.20260125212733-02fc5c1ffa78 h1:MZ1LRHlNVLzTBpXWw8aejwBBNCuY7l7YTfJYtMYZ2NA=
|
github.com/rwinkhart/libmutton v0.4.3-0.20260125215941-ec9c6b506232 h1:NzUoqkjBy9u9a3wV+D1DR2DemVpYi0Hxug800ybarZE=
|
||||||
github.com/rwinkhart/libmutton v0.4.3-0.20260125212733-02fc5c1ffa78/go.mod h1:63SCVQaWcg4JiEBxYEtLwAiRxXQvlpyFsmWUxxfdIpU=
|
github.com/rwinkhart/libmutton v0.4.3-0.20260125215941-ec9c6b506232/go.mod h1:63SCVQaWcg4JiEBxYEtLwAiRxXQvlpyFsmWUxxfdIpU=
|
||||||
github.com/rwinkhart/peercred-mini v0.1.2 h1:4cGWDbv0whvLeVvbUdx84V/9p+2fS+DEXgrA1KxlRFo=
|
github.com/rwinkhart/peercred-mini v0.1.2 h1:4cGWDbv0whvLeVvbUdx84V/9p+2fS+DEXgrA1KxlRFo=
|
||||||
github.com/rwinkhart/peercred-mini v0.1.2/go.mod h1:LLHG7YshHEpbpJJP+Il9nx2dnGj5O3VGE32rWmflj0c=
|
github.com/rwinkhart/peercred-mini v0.1.2/go.mod h1:LLHG7YshHEpbpJJP+Il9nx2dnGj5O3VGE32rWmflj0c=
|
||||||
github.com/rwinkhart/rcw v0.2.5 h1:3GJeii9sDZsZNL+HRkfHrnbgxnaB8a9kejiMIfPXnpE=
|
github.com/rwinkhart/rcw v0.2.5 h1:3GJeii9sDZsZNL+HRkfHrnbgxnaB8a9kejiMIfPXnpE=
|
||||||
|
|||||||
@@ -225,7 +225,7 @@ func main() {
|
|||||||
fmt.Println("\nDevice ID changed successfully.")
|
fmt.Println("\nDevice ID changed successfully.")
|
||||||
case 3:
|
case 3:
|
||||||
forceReage := front.InputBinary("Re-age aged entries?")
|
forceReage := front.InputBinary("Re-age aged entries?")
|
||||||
fmt.Println("Aging entries; this may take awhile - do not terminate this process")
|
fmt.Println("Aging entries; please wait - do not terminate this process")
|
||||||
if err := age.AllPasswordEntries(forceReage, nil); err != nil {
|
if err := age.AllPasswordEntries(forceReage, nil); err != nil {
|
||||||
other.PrintError("Failed to age entries: "+err.Error(), 1)
|
other.PrintError("Failed to age entries: "+err.Error(), 1)
|
||||||
}
|
}
|
||||||
@@ -234,7 +234,7 @@ func main() {
|
|||||||
case 5:
|
case 5:
|
||||||
oldPassword := confirmRCWPassword("old")
|
oldPassword := confirmRCWPassword("old")
|
||||||
newPassword := confirmRCWPassword("new")
|
newPassword := confirmRCWPassword("new")
|
||||||
fmt.Print("Re-encrypting entries...\nPlease wait; do not force close this process.\n\n")
|
fmt.Print("Re-encrypting entries; please wait - do not terminate this process.\n\n")
|
||||||
if err := core.EntryRefresh(oldPassword, newPassword, false); err != nil {
|
if err := core.EntryRefresh(oldPassword, newPassword, false); err != nil {
|
||||||
other.PrintError("Re-encryption failed: "+err.Error(), global.ErrorEncryption)
|
other.PrintError("Re-encryption failed: "+err.Error(), global.ErrorEncryption)
|
||||||
}
|
}
|
||||||
@@ -280,7 +280,7 @@ func getTextEditorInput() string {
|
|||||||
|
|
||||||
// verifyEntries attempts to verify all entries using the provided RCW password.
|
// verifyEntries attempts to verify all entries using the provided RCW password.
|
||||||
func verifyEntries(rcwPassword []byte) {
|
func verifyEntries(rcwPassword []byte) {
|
||||||
fmt.Println("Verification in progress; please wait...")
|
fmt.Println("Verification in progress; please wait - do not terminate this process...")
|
||||||
err := core.VerifyEntries(rcwPassword)
|
err := core.VerifyEntries(rcwPassword)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
other.PrintError("Verification failed: "+err.Error(), global.ErrorDecryption)
|
other.PrintError("Verification failed: "+err.Error(), global.ErrorDecryption)
|
||||||
|
|||||||
Reference in New Issue
Block a user