Re:What every IT person needs to know about OpenBSD Part 3: ...
by valenterry on Sunday November 21, 2021 @07:57PM
(#29301464)
You are correct and I was sloppy in explaining it properly.
In general however, I believe that there is no inherit advantage of certificates over passwords, except for the key-size obviously. Everything else is just convention/standards.
Please see the following page that explains better what I meant when I said that the password should be hashed: https://en.wikipedia.org/wiki/Hash_chain
Using such a mechanism (including salts / challenges) will prevent an attacker using the hash as the password.
With private/public key pairs, the same scenario would result in the attacker only obtaining your public key, which is useless without the private key.