Page MenuHomeFreeBSD

certctl(8): Remove untrusted certificates from TRUSTPATH
AbandonedPublic

Authored by freebsd_igalic.co on Feb 3 2023, 1:51 PM.
Referenced Files
Unknown Object (File)
Nov 28 2024, 10:05 PM
Unknown Object (File)
Nov 11 2024, 10:49 PM
Unknown Object (File)
Nov 11 2024, 3:33 PM
Unknown Object (File)
Nov 9 2024, 3:57 PM
Unknown Object (File)
Sep 14 2024, 8:14 AM
Unknown Object (File)
Sep 11 2024, 3:35 PM
Unknown Object (File)
Aug 27 2024, 1:40 AM
Unknown Object (File)
Aug 24 2024, 2:53 AM

Details

Reviewers
kevans
debdrup
Group Reviewers
manpages
Summary

if a certificate from a TRUSTPATH is untrust'ed, we now remove it from
that TRUSTPATH.

PR: 250681
Sponsored by: The FreeBSD Foundation

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 49508
Build 46398: arc lint + arc unit

Event Timeline

debdrup added a subscriber: debdrup.

The mdoc(7) changes look good to me.

This revision is now accepted and ready to land.Feb 3 2023, 2:09 PM
  • fix case syntax
  • use dirname, not basename
This revision now requires review to proceed.Feb 3 2023, 2:12 PM
yuri_aetern.org added inline comments.
usr.sbin/certctl/certctl.8
29

Add a comma after "February 3", i.e.:

WARNING: cannot parse date, using it verbatim: Dd February 3 2023

after feedback from @kevans on IRC, I'm abandoning this revision, because it's the wrong way to solve this problem:

14:41 <@kevans91> it's a slippery slope, of sorts. if we rely on removing it from trustpath, we get unexpected results if someone adjusts trustpath
14:42 <@kevans91> we try to makw the promise that if you distrust a cert it'll stay distrusted until you say otherwise