Message ID | 1544061989-7450-1-git-send-email-matthew.weber@rockwellcollins.com |
---|---|
State | Accepted |
Commit | 2e104e22ea23478e3d7cd6113dba340533140e41 |
Headers | show |
Series | [v2,1/3] system cfg: update mkpasswd SHA option txt | expand |
>>>>> "Matt" == Matt Weber <matthew.weber@rockwellcollins.com> writes: > This patch drops the comment about checking the C libraries version as > they now all support it by default > glibc 2.7+ > uclibc (bdd8362a88 package/uclibc: defconfig: enable sha-256...) > musl 1.1.14+ > Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> > Cc: "Yann E. MORIN" <yann.morin.1998@free.fr> > Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com> > --- > Changes > v1 -> v2 > [Yann > - Suggest this patch content is split out from the change of default > method to SHA256 > - then -> than in help text Committed, thanks.
diff --git a/system/Config.in b/system/Config.in index 9e34f11..e33568f 100644 --- a/system/Config.in +++ b/system/Config.in @@ -81,20 +81,12 @@ config BR2_TARGET_GENERIC_PASSWD_MD5 config BR2_TARGET_GENERIC_PASSWD_SHA256 bool "sha-256" help - Use SHA256 to encode passwords. - - Very strong, but not ubiquitous, although available in glibc - for some time now. Choose only if you are sure your C library - understands SHA256 passwords. + Use SHA256 to encode passwords which is stronger than MD5. config BR2_TARGET_GENERIC_PASSWD_SHA512 bool "sha-512" help - Use SHA512 to encode passwords. - - Extremely strong, but not ubiquitous, although available in - glibc for some time now. Choose only if you are sure your C - library understands SHA512 passwords. + Use SHA512 to encode passwords which is stronger than SHA256 endchoice # Passwd encoding