$ brew install --build-from-source https://raw.githubusercontent.com/mcandre/homebrew-core/27757013b40567774c223a93faa720ed813ece71/Formula/whois.rb
-
-
Save mcandre/17d96264961fb4e52c3ffad5f4073cae to your computer and use it in GitHub Desktop.
@jfoliveira you could use my homebrew tap to install mkpasswd
:
brew tap tonidy/tools-tap
brew install mkpasswd
I just set up your tap, and I can see that I have mkpasswd
available, but it doesn't seem to support sha-512 or sha-256, which seems odd to me.
Are you able to mkpasswd -m sha-256
or mkpasswd -m sha256
(I can never remember if the dash is required or not)
@kgleason you can use libxcrypt
library if you want to support sha256 / sha512. My own tap is using openssl from macOS/brew version that doesn't support sha256 / sha512
Trying to build mkpasswd :-)
==> Tapping tonidy/tools-tap
Cloning into '/usr/local/Homebrew/Library/Taps/tonidy/homebrew-tools-tap'...
remote: Enumerating objects: 122, done.
remote: Counting objects: 100% (122/122), done.
remote: Compressing objects: 100% (75/75), done.
remote: Total 122 (delta 32), reused 100 (delta 20), pack-reused 0
Receiving objects: 100% (122/122), 15.56 KiB | 1.73 MiB/s, done.
Resolving deltas: 100% (32/32), done.
Error: Invalid formula: /usr/local/Homebrew/Library/Taps/tonidy/homebrew-tools-tap/Formula/mkpasswd.rb
mkpasswd: Calling bottle :unneeded is disabled! There is no replacement.
Please report this issue to the tonidy/tools-tap tap (not Homebrew/brew or Homebrew/core):
/usr/local/Homebrew/Library/Taps/tonidy/homebrew-tools-tap/Formula/mkpasswd.rb:10
Error: Cannot tap tonidy/tools-tap: invalid syntax in tap!
Hi, thanks for sharing this gist!
Tried to install it on macOS Catalina and ran into the following error message:
Any advice on how to workaround this issue and
mkpasswd
command available on my OSX?Below I paste the full output log, in case it helps: