Pro@programming.dev to Programming@programming.devEnglish · 3 days agoCursed knowledge we have learned as a result of building Immich that we wish we never knew.immich.appexternal-linkmessage-square6linkfedilinkarrow-up155arrow-down10
arrow-up155arrow-down1external-linkCursed knowledge we have learned as a result of building Immich that we wish we never knew.immich.appPro@programming.dev to Programming@programming.devEnglish · 3 days agomessage-square6linkfedilink
minus-squareirelephant [he/him]@lemmy.dbzer0.comlinkfedilinkarrow-up9·edit-23 days ago The bcrypt implementation only uses the first 72 bytes of a string. Any characters after that are ignored. what
minus-squarechaos@beehaw.orglinkfedilinkarrow-up6·edit-23 days agoOlder Unix systems used to only do the first 8 bytes for passwords. Sometimes for my own amusement when logging into one of the Sun machines at school, I’d type in enough of my password to count and then just mash the keyboard.
minus-squareSenal@programming.devlinkfedilinkEnglisharrow-up3·2 days agofor a long time, hotmail (and i think windows live mail) only checked the first 16 characters.
minus-squarelad@programming.devlinkfedilinkEnglisharrow-up2·2 days agoThat’s almost as good as the ones that limit password on the sign-in UI, but not on the sign-up
minus-squarefuzzzerd@programming.devlinkfedilinkEnglisharrow-up2·2 days agoI have run across one that allowed arbitrary length when doing account creation and password reset but silently truncated the login input. Took me hours to figure out that my password was longer than the documented length, try it and then have no problems.
what
Older Unix systems used to only do the first 8 bytes for passwords. Sometimes for my own amusement when logging into one of the Sun machines at school, I’d type in enough of my password to count and then just mash the keyboard.
for a long time, hotmail (and i think windows live mail) only checked the first 16 characters.
That’s almost as good as the ones that limit password on the sign-in UI, but not on the sign-up
I have run across one that allowed arbitrary length when doing account creation and password reset but silently truncated the login input.
Took me hours to figure out that my password was longer than the documented length, try it and then have no problems.