Page MenuHomeFreeBSD

certctl: Clean up.
ClosedPublic

Authored by des on Oct 5 2023, 11:22 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Jun 3, 10:18 AM
Unknown Object (File)
Sat, May 25, 12:33 PM
Unknown Object (File)
Sat, May 25, 6:03 AM
Unknown Object (File)
Fri, May 24, 5:14 PM
Unknown Object (File)
Fri, May 24, 5:12 PM
Unknown Object (File)
Fri, May 24, 4:42 PM
Unknown Object (File)
Tue, May 21, 3:56 AM
Unknown Object (File)
Sun, May 19, 12:54 AM
Subscribers

Details

Reviewers
allanjude
Group Reviewers
security
Commits
rG1525625c7c94: certctl: Clean up.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

des requested review of this revision.Oct 5 2023, 11:22 AM

A few small comments, but looks good to me

reviewed-by: allanjude

usr.sbin/certctl/certctl.sh
34

this part of the change means you can no longer control the VERBOSE setting by setting an environment variable.

When certctl is run as part of scripts, or installworld etc, it helps to be able to see what it is doing.

112

we probably need to quote "$(realpath "$1")" incase the path might have a space in it

This revision is now accepted and ready to land.Oct 5 2023, 12:47 PM
This revision now requires review to proceed.Oct 5 2023, 1:57 PM
des marked 2 inline comments as done.Oct 5 2023, 1:58 PM
des added inline comments.
usr.sbin/certctl/certctl.sh
34

You can now define CERTCTL_VERBOSE to a non-empty value to get the same effect.

CERTCTL_VERBOSE is even better. Thank you.

reviewed-by: allanjude

This revision is now accepted and ready to land.Oct 5 2023, 2:00 PM
This revision was automatically updated to reflect the committed changes.