News for hackers. Stuff that matters.
Re:New Intermediate Certificates by londons_explore on Tuesday March 19, 2024 @12:12PM (#39757231)
I kinda wish pins by default became unpinned when the pinned cert expired.

Pinning an expired cert means you are 100% sure the software won't work.

Re:New Intermediate Certificates by Wowfunhappy on Tuesday March 19, 2024 @12:26PM (#39757430)
What prevents the user from simply setting their clock forward?

(I do agree cert pinning is bad overall.)

Re:New Intermediate Certificates by patmorgan23 on Tuesday March 19, 2024 @12:52PM (#39757718)
If the user wants to ignore cert error they're going to ignore cert errors
Re:New Intermediate Certificates by michaelt on Tuesday March 19, 2024 @01:55PM (#39758484)
Pinning your CA's certificate protects against two things:

1. All-powerful NSA types who've managed to steal a CA's private key or get a certificate mis-issued. It's a nigh-irreplaceable attack opportunity, but the moment they use it it'll be revoked within hours, so naturally it's reserved for the absolute highest value target. For example, [1]

2. Users trying to reverse-engineer your app.

You can imagine which of these is the most common - perhaps you don't want the user to be able to bypass the pin, even intentionally.

[1] https://www.eff.org/deeplinks/2011/08/iranian-man-middle-att...