diff --git a/README.md b/README.md index 39e1dc7..cb32f42 100644 --- a/README.md +++ b/README.md @@ -20,32 +20,27 @@ MUTN is currently in early development and does not yet have online synchronizat To build the current version of MUTN, simply clone this repository and run `go build` in its root directory. # Roadmap -- Refactor for better modularity - - Release v0.1.0 - No binaries -- Crete server software -- Add native sync -- Add netpin (quick-unlock replacement) functionality - - Release v0.2.0 - Make repo public - x86_64_v1 binary -- Println text-wrapping -- Markdown support for notes - - Release v0.2.1 - x86_64_v1 binary -- Swap to native encryption, consider making GPG optional or removing entirely -- Swap to native SSH if not already done - - Release v0.3.0 - x86_64_v1 binary -- Replace init with interactive ttyPod-based menu - - Release v0.3.1 - x86_64_v1 binary -- Password aging support - - Release v0.4.0 - x86_64_v1 binary -- Perform extensive testing, fixing, and optimizing -- Create artwork -- Create manpage -- Create packaging script - - Release v1.0.0 - - Official packages for: - - Arch Linux (AUR PKGBUILD, source-based with user's architecture feature level) - - Debian 12+/Ubuntu 24.04+ Linux - - Alpine Linux - - Fedora Linux - - FreeBSD - - Windows - - MacOS (aarch64 only) \ No newline at end of file +- Release v0.2.0 - No binaries + - Crete server software + - Add native sync (based on golang.org/x/crypto/ssh) + - Update entry format with reserved space for TOTP +- Release v0.2.1 - No binaries + - Replace init with interactive ttyPod-based menu +- Release v0.3.0 - Make repo public - x86_64_v1 binary + - Swap to native encryption, consider making GPG optional or removing entirely +- Release v0.4.0 - x86_64_v1 binary + - Password aging support + - Add password aging info to entry names + - Make constant character count to easily trim for user interaction +- Release v1.0.0 - Distribution packages (from here on out) + - Perform extensive testing, fixing, and optimizing + - Create artwork + - Create manpage + - Create packaging script +- Release v1.1.0 + - Cascading encryption support +- Release v1.2.0 + - Custom color scheme support +- Release v1.3.0 + - Add build option for breaking markdown support and menus into separate binaries + - Greatly reduces startup time \ No newline at end of file diff --git a/main.go b/main.go index 54e3413..0b0c8cc 100644 --- a/main.go +++ b/main.go @@ -28,6 +28,7 @@ func main() { // entry reader shortcut (if no other arguments are supplied) if argsCount == 2 { cli.EntryReaderDecrypt(targetLocation, true, false) + // perform other operations on the entry (if other arguments are supplied) } else if argsCount == 3 || (argsCount == 4 && (args[3] == "show" || args[3] == "-s")) { if argsCount == 3 { // default to "password" if no field is specified (for copy, edit, and add) @@ -62,8 +63,6 @@ func main() { } else if argsCount >= 4 { - // declare entry field to perform target operation on - switch args[2] { case "copy": var field int // indicates which (numbered) field to copy @@ -84,7 +83,7 @@ func main() { } backend.CopyArgument(targetLocation, field, args[0]) case "edit": - var field int // indicates which field to edit + var field int // indicates which (numbered) field to edit switch args[3] { case "password", "-pw": field = 0 diff --git a/src/cli/edit.go b/src/cli/edit.go index a9657be..c5d52a5 100644 --- a/src/cli/edit.go +++ b/src/cli/edit.go @@ -22,7 +22,7 @@ func RenameCli(oldLocation string) { // exit is done from backend.Rename } -// EditEntryField edits a field of an entry at targetLocation (user input), does not allow for editing notes +// EditEntryField edits a field of an entry at targetLocation (user input) func EditEntryField(targetLocation string, hidePassword bool, field int) { // fetch old entry data (with all required lines present) unencryptedEntry := backend.GetOldEntryData(targetLocation, field) diff --git a/src/cli/printInfo.go b/src/cli/printInfo.go index ffaae57..02ededa 100644 --- a/src/cli/printInfo.go +++ b/src/cli/printInfo.go @@ -142,7 +142,7 @@ ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED " ◎-◎ // \\\\ " + ansiVersionMeat + "♥♥♥♥♥♥♥♥♥" + backend.AnsiReset + " // \\\\ /|\\\n" + ansiVersionOutline + "<><><><><><><><><><><><><><>-<><><><><><><><><><><><><><>\n" + "\\" + ansiBlackOnWhite + " " + backend.AnsiReset + ansiVersionOutline + "/\n" + - "\\" + ansiBlackOnWhite + " MUTN Version 0.0.1 " + backend.AnsiReset + ansiVersionOutline + "/\n" + + "\\" + ansiBlackOnWhite + " MUTN Version 0.1.0 " + backend.AnsiReset + ansiVersionOutline + "/\n" + "\\" + ansiBlackOnWhite + " The Butchered Update " + backend.AnsiReset + ansiVersionOutline + "/\n" + "\\" + ansiBlackOnWhite + " " + backend.AnsiReset + ansiVersionOutline + "/\n" + "\\" + ansiBlackOnWhite + " Copyright (c) 2024 Randall Winkhart " + backend.AnsiReset + ansiVersionOutline + "/\n" +