Skip to content

Releases: ksharnoff/pass

v1.3.0 URLs and variable screen size

Choose a tag to compare

@ksharnoff ksharnoff released this 24 Jun 05:43

Features:

  • Added Urls as a slice of strings in all relevant functions
  • All visual items (input fields and text columns) are calculated to resize to look good in different sized terminals
  • / is optional to start off commands, open is the same as /open
  • /open's sensitive information that is colored the same as the background is now highlighted the same color as the text -- assurance against a possible future background change
  • Changed text prompting in delete entry pop up

Bug fixing / refactoring:

  • All instances of fmt.Sprint(str, str) for string concatenation have been swapped to str + str or string builder using + b.WriteString(str + str), as I found those to be faster than fmt.Sprint in benchmark tests
  • Spelling mistakes fixed
  • Alphabet iterator is now an int, not a struct
  • Each time /help and /open are called, the page will start scrolled up at the top
  • /flist str now shows the entries not in circulation (like /find)
  • Moved writeToFile, readFromFile, and the entry struct to encrypt.go so that it can be imported into changeKey.go and createEncre.go
  • README updated
  • All files are gofmt formatted
  • Input fields in both the password screen and home screen will only be done once user clicks enter/return or tab; no longer arrows or back tab

Full Changelog: v1.2.1...v1.3.0

v1.2.1 Small Bug Fixes

Choose a tag to compare

@ksharnoff ksharnoff released this 13 Feb 06:05
ddc48b5

Fixed small compilation bug.
Changed parameters for Argon2 to be more reasonable.

v1.2.0: Rewrote code, command shortcuts, updated repo

Choose a tag to compare

@ksharnoff ksharnoff released this 27 Aug 22:43
949ed40

New stuff:

  • Added shortcuts for the commands (in addition to /open, can write /o)
  • Protection for createEncr.go or changeKey.go to not change your password to /q or /quit (because you can use /quit or /q in the password screen)
  • /comp and /reused also compare security questions

Redone code (to be better):

  • Got rid of lots of unnecessary if/else by returning functions and using a new switchToError()
  • Made a struct alphabetIterator instead of the old rune slice system to be used to make the alphabet in the lists. This is better because it's just storing an int that can be converted into a rune.
  • only initialized variables immediately before they are used
  • When possible, only initialize (anonymous) functions when used the first time
  • Better wrap around for long notes in /open (splits up the string so that there is always the space at the beginning of each line)
  • Used strings.Builder and fmt.Sprint to use buffers in combining strings
  • Fixed redundant findEntries() and findIndexes
  • Made the struct Field lower case
  • Renamed module to github.com/ksharnoff/pass
  • Stopped defining grids ahead of time for most things, only make the grids when the primitives are added to pages. Therefore, also got rid of many of the structs that define text-grid, list-grid, etc.
  • Comments end at column 80

Updated repo info

  • Updated all the screenshots on github
  • Updated README, added in depth alt text
  • Updated the /help text and the side bar info

v1.1.0: Formatting, fixed bugs

Choose a tag to compare

@ksharnoff ksharnoff released this 06 Aug 03:50
485afed

Similar to when it was first finished August 2022 as v1.0.0.

v1.1.0 has bug fixes and added features. If you were to take a file of passwords from two years it would run perfectly with this update.

The added features are: /flist str, /comp # #, and /reused. Major bug fixes are: /copy # now works without pointer issues, /list displays past 63 entries, the colors of edit field on /edit # and /new are consistent.

I am releasing this version now as a reference as I am going to be re-writing a lot of the code and then making big structural non backwards compatible changes.