FS#74724 - [whois] include mkpasswd
Attached to Project:
Arch Linux
Opened by jd (averageguy) - Friday, 13 May 2022, 09:53 GMT
Last edited by Evangelos Foutras (foutrelis) - Wednesday, 14 September 2022, 16:44 GMT
Opened by jd (averageguy) - Friday, 13 May 2022, 09:53 GMT
Last edited by Evangelos Foutras (foutrelis) - Wednesday, 14 September 2022, 16:44 GMT
|
Details
Description:
The program `mkpasswd` is not included and can be enabled by invoking `make` with `install-mkpasswd`. Maybe a split package is possible `whois-mkpasswd`. The program `mkpasswd` provided in the whois package is different to https://man.archlinux.org/man/mkpasswd.1.en. Maybe there is a good reason why mkpasswd is not includes in the whois package I didn't noticed. Additional info: * package version(s) * config and/or log files etc. * link to upstream bug report, if any Steps to reproduce: |
Closed by Evangelos Foutras (foutrelis)
Wednesday, 14 September 2022, 16:44 GMT
Reason for closing: Implemented
Additional comments about closing: whois 5.5.13-2
Wednesday, 14 September 2022, 16:44 GMT
Reason for closing: Implemented
Additional comments about closing: whois 5.5.13-2
"Because of historical reasons this package also contains the mkpasswd
program, which can be used to encrypt a password with crypt(3)."
Debian appear to install the expect version as "expect_mkpasswd". Not sure whether PM would be interested in modifying *both* pkgs (whois and expect) but you never know until you ask :)
FS#75880So shouldn't this issue better be assigned to the expect maintainer (jelly) first?
As far as I can tell, `openssl passwd -6` can be used to generate SHA-512 password hashes (without rounds though). If someone needs the extra functionality from whois's mkpasswd, it can be found in the AUR. Its usefulness isn't substantial enough to warrant packaging it in the context of the whois package.
If you don't want it in the whois package (which I can fully understand, it has nothing to do with whois), wouldn't it make sense to create an additional output package out of the same whois source package?
Edit: Just to clarify, I mean using whois as base package (pkgbase), and create whois and mkpasswd pakages out of it (pkgname=(whois, mkpasswd))
In any case, I'll poke Jelle to see if we can rename expect's mkpasswd to mkpasswd-expect like Fedora did.
[1] https://github.com/linux-pam/linux-pam/commit/16bd523f85ed
FS#71393that does not and pambaseFS#67393that hardcodes sha512.