Page MenuHomeFreeBSD

certctl: Unstickify (un)trusted certificates
AcceptedPublic

Authored by des on Fri, Apr 24, 12:21 PM.
Tags
None
Referenced Files
F154118971: D56617.diff
Sun, Apr 26, 7:57 AM
Unknown Object (File)
Fri, Apr 24, 1:06 PM
Subscribers

Details

Reviewers
kevans
bcr
Group Reviewers
security
Summary

Ever since certctl was rewritten in C, the rehash command has reingested
TRUSTDESTDIR / UNTRUSTDESTDIR in addition to TRUSTPATH / UNTRUSTPATH.
This seemed like a good idea at the time but was, in retrospect, a
mistake, as it means a (un)trusted certificate remains (un)trusted
forever (or at least until it expires) even if it is removed from
(UN)TRUSTPATH. Among other issues, it causes ports QA to fail for any
port that either installs certificates or depends on a port that does.

Although this behavior was undocumented, the change may surprise users
who have added certificates manually, so update the manual page to point
it out.

PR: 290078
MFC after: 1 week

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 72521
Build 69404: arc lint + arc unit

Event Timeline

des requested review of this revision.Fri, Apr 24, 12:21 PM
des retitled this revision from certctl: Unstickify trusted certificates to certctl: Unstickify (un)trusted certificates.Fri, Apr 24, 2:02 PM
des edited the summary of this revision. (Show Details)
bcr added a subscriber: bcr.

OK for the changes to the manpage.

This revision is now accepted and ready to land.Sat, Apr 25, 8:24 AM