From 1f1d6eb14a83929ab437cdd1d391af9261e90663 Mon Sep 17 00:00:00 2001 From: Dennis Eriksen Date: Fri, 8 Sep 2023 08:02:51 +0200 Subject: Updating README.md First and foremost - the \ got removed from the special characterset in the zsh-version (which atm is the authorative one) in commit 10f86a9. This is because it was sometimes interpreted as an escapecharacter when combined with certain other characters. This should probably have been solved some other way, but the easiest way was to just remove the character. I also don't have quotes in the special characterset for the same reason - it might get interpreted the wrong way. Secondly, I updated the example. Thirdly - updated the descriptions of the different versions a bit. --- README.md | 37 +++++++++++++++++++------------------ 1 file changed, 19 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index 951cf7a..b1f8981 100644 --- a/README.md +++ b/README.md @@ -117,30 +117,30 @@ columns should be dynamic, and dependant on the width of the screen. Normal character set: `abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_` -Special character set: `abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!#$%&/()=?+-_,.;:<>[]{}|\@*` +Special character set: `abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!#$%&/()=?+-_,.;:<>[]{}|@*` ### Example output ``` Normal passwords: -7B39aQZSm9P9BYZ8gBu0rLNIjNP SLztHlkZ5IsG5VaMfeF_JgttZOfZZa5 -RxnvFtdztaX jZ6lAAA2a38ip5gwr_LuIDOys2Co -kn3hGdRMyIyz1sJic5iNL6N5 3Z9wWyScY4qqQYh -wigDZcuGDlWDyW4UKNtC_NHg9ITVfLOUq4Iq4R dJJSK10_SDk7q6Jk -41uPXf5d-jYCh7wgc0ZOy hTTcPdqGg5NWCyf7vcFp3su4kGQ0aIyP7xK7WVcp +ZmvQB4r23KnctqjoV8fAlObMNu9Yt f-FS1k7yXwxeTIZk +IpCL6RiHgh0DsJGzE_mvQB4r23KnctqjoV8fAlY ANu9Yda5-FS1k7yXwxeTIZWPUpCL6RiHgh0Dsr +vE_mvQB4r23KnctqjoV8fAlObMNu9YdaD dS1k7yXwxeTIZu +wpCL6RiHgh0DsJGzE_mvQB4r23KnctqjoV8fAN XMNu9Yda5-FS1k7yXwxeTIZWPUpCL6 +uHgh0DsJGzE_mV N4r23KnctqjoV8fAlObMNu9Yda5-FS1k7yXwxy Passwords with special characters: -p0M4b1%XP.BsIDH1ub[q9b+3nSR84!W$W%W +L&ROH=NKTcti-U#Sv_/Ojgx}1kd+jEFe)cX fwVCfYRWXghK9AR$-Ex.vktyrE5 +HAZG-EhuL&t4H:x}vc74HwFe|&Raj@Fy w7>j!hev_JabEV(vIBqHMx.TcZGjwV0|c,i-!5E?}vAR4zMpCD6v PENeD&lyr@xKF +ZazwVCLAJWzM?8fs{W%g#KvYZq[Mp(P Passphrases: -brisk-gong-gag-open-life-boil -womb-nanny-stove-word-ajar-ocean -sage-barge-barge-five-poise-coach -lunar-juror-savor-unit-boil-sleep -cloth-nap-word-shun-gulp-sedan -guide-fray-dial-grid-candy-wick +tweak-boots-shun-pond-cone-wimp-happy-polar +shut-acre-decay-thank-pagan-crown-snack-cadet +slug-putt-twist-fresh-park-flock-deed-error +music-rerun-mocha-acid-taps-boast-rule-clad +churn-curvy-wreck-list-stove-bonus-ozone-atom ``` ## Benchmarks @@ -183,19 +183,20 @@ Summary ## Versions ### Bash -This version needs a bit more work. +Bash-version. It's a lot messier than the zsh-version. ### Go Build width (from root folder in repo): + ``` $ go build -o ../makepass.go -C go/ -ldflags "-s -w" makepass.go ``` ### Perl -Perl version. I like this version. +Perl version. I like this version <3 ### Shell -Needs more work. +Needs more work. *Should* be pure POSIX sh. ### Zsh This is currently the "main" version. It uses pure zsh, with no forking out to -- cgit v1.2.3