0
$\begingroup$

Does checking sig with DSA implies both that the sender is verified , and the msg is original without change of any bit? (case i dont have a reference HASH for that file, only public key)

$\endgroup$
1
  • 1
    $\begingroup$ As of 2019, the DSA algorithm as specified in initial versions of NIST FIPS 186 had so many mis-implementations that it's being deprecated by TLS1.3 and SSH, and also in the next revision of FIPS 186. $\endgroup$
    – DannyNiu
    Dec 26, 2019 at 11:10

1 Answer 1

2
$\begingroup$

If you know the sender's verification key previously: Yes, it does prove the authenticity and integrity of that message. No one else could have created a matching signature - for any message under that public key.

As a side note: hashes of files are in theory a good idea to check that it was not changed. But when you get the hash from the same source as the file itself (e.g. the webserver offering a file for download), then that's utterly worthless. Anyone able to manipulate the file can also just replace the hash (doesn't matter if he has access to the file server or if it's a man-in-the-middle attack).

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.