Closed Bug 1271486 Opened 10 years ago Closed 3 years ago

On Windows, p7verify sometimes fails to verify digital signatures created with p7sign

Categories

(NSS :: Tools, defect, P3)

3.23
Other
Windows
defect

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: KiloLima355, Unassigned)

Details

(Keywords: good-first-bug)

While p7sign opens files as binary files, p7verify does not (see lines 207 and 220). So, p7verify fails to verify the digital signatures of some files created on Windows by p7sign.

Thanks for this report Kurt.
Nowadays this change will not make difference for most UNIX systems, but should be useful for Windows [1].
Looks to be an easy fix in two lines of p7verify.c.

Would you like to post a patch?

Thanks,

References:
[1] https://linux.die.net/man/3/fopen

Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: needinfo?(KiloLima355)
Priority: -- → P3
Keywords: good-first-bug

A needinfo is requested from the reporter, however, the reporter is inactive on Bugzilla. Closing the bug as incomplete.

For more information, please visit auto_nag documentation.

Status: NEW → RESOLVED
Closed: 3 years ago
Flags: needinfo?(KiloLima355)
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.