u/lukmly013 💾 (lemmy.sdf.org)

I like computers, trains, space, radio-related everything and a bunch of other tech related stuff. User of GNU+Linux.
I am also dumb and worthless.
My laptop is ThinkPad L390y running Arch.
I own RTL-SDRv3 and RSP1 clone.

SDF Unix shell username: user224

  • 136 Posts
  • 1.47K Comments
Joined 3 years ago
cake
Cake day: June 17th, 2023

help-circle









  • conditioner because long hair, shower gel for the body

    Uuuuuh, hello.
    I don’t know how to take care of long hair. I never used conditioner, just whatever says “shampoo” sorted by price from lowest (per amount, not bottle). I wish I could just get rid of it instead, but I have large psoriasis patch at the back of my head and neck, and the hair hides it. The only purpose, otherwise I’d rather go bald.
    As for shower gel, I can’t manage to wash it off with hard water, so I use bar soap. I also used to use bar soap for scalp and hair, but I figured it made the psoriasis worse.



  • The salt adds nothing

    It prevents cross-service re-use, should the original password hash be obtained (if other services used the same system).

    Example (MD5 in b64 used for simplicity): Same password is used on website1 and website2. The password is password.
    password produces KGdV+tBIacpSMyCszg3GpA== which can be used for both websites.
    Now, if website1 adds sbo2 as salt, and website2 addsx3e5, you get:
    passwordsbo2 -> d0bd511zpYqG3//3vLGYRQ==
    passwordx3e5 -> 788BnQKx7B2KOSju2jviiQ==

    So if you are on a corporate network that does MITM (you had to add their root cert) for monitoring, they’ll only see a hash for each website separately, without being able to re-use it.
    Though that’s quite a bit of an edge case, and assumes no client modification or other monitoring.








  • First round of hashing could be done client-side, and then send that to the server.
    Would be cool to also add salt so that the hash couldn’t get re-used across services even with the same source password/file if somehow captured.

    Idea:

    1. Enter username
    2. Server sends salt to client
    3. Enter password or key file
    4. Client computes hash of the password or file with salt added (I have no idea how it’s used. If appended, some hashing functions could truncate the data, losing the salt. If prepended along with truncation, you just made the password even shorter. XOR?)
    5. Client sends hash to server
    6. Server hashes the hash same way as if it was password
    7. If it matches, you’re in

    Basically, the hash is your password. Data can be whatever.
    Most websites already use JavaScript, so why not.





  • I ask AI to make me a random password for “x” service. Whenever I need to remember it, I just ask again

    I’ve already seen someone do that, a certain family member. At first I found it funny when they asked an LLM about their WiFi password, which was some gibberish. But it worked. There’s no way something like that would be default across entire product line.
    Indeed, when I asked, I got “I gave it screenshots of everything because I didn’t know what to type where”.