Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#3911 - Consider changing /etc/shadow's default password hashing algorithm #8910

Open
openwrt-bot opened this issue Jul 3, 2021 · 1 comment
Labels

Comments

@openwrt-bot
Copy link

@openwrt-bot openwrt-bot commented Jul 3, 2021

mcaju:

Currently the default algorithm used for storing passwords in /etc/shadow is md5crypt.
For security reasons this should be changed to a more suitable algorithm.
The present passwd implementation in busybox supports sha256crypt as well as sha512crypt.

This would require a simple patch at https://github.com/openwrt/openwrt/blob/master/package/utils/busybox/Config-defaults.in#L1325-L1327

@openwrt-bot
Copy link
Author

@openwrt-bot openwrt-bot commented Jul 3, 2021

mcaju:

MUSL_DISABLE_CRYPT_SIZE_HACK should also be set for boards where this would be feasible to implement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant