-
Notifications
You must be signed in to change notification settings - Fork 137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add pki-server ca-crl-* commands #4548
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One minor suggestion but not necessary to change looks good as-is.
print(' Allow Extensions: %s' % config.get('allowExtensions')) | ||
print(' Always Update: %s' % config.get('alwaysUpdate')) | ||
print(' Auto Update Interval: %s' % config.get('autoUpdateInterval')) | ||
print(' CA Certs Only: %s' % config.get('caCertsOnly')) | ||
print(' Cache Update Interval: %s' % config.get('cacheUpdateInterval')) | ||
print(' Unexpected Exception Wait Time: %s' % config.get('unexpectedExceptionWaitTime')) | ||
print(' Unexpected Exception Loop Max: %s' % config.get('unexpectedExceptionLoopMax')) | ||
print(' Daily Updates: %s' % config.get('dailyUpdates')) | ||
print(' Enable CRL Cache: %s' % config.get('enableCRLCache')) | ||
print(' Enable CRL Updates: %s' % config.get('enableCRLUpdates')) | ||
print(' Enable Cache Testing: %s' % config.get('enableCacheTesting')) | ||
print(' Enable Cache Recovery: %s' % config.get('enableCacheRecovery')) | ||
print(' Enable Daily Updates: %s' % config.get('enableDailyUpdates')) | ||
print(' Enable Update Interval: %s' % config.get('enableUpdateInterval')) | ||
print(' Extended Next Update: %s' % config.get('extendedNextUpdate')) | ||
print(' Include Expired Certs: %s' % config.get('includeExpiredCerts')) | ||
print(' Min Update Interval: %s' % config.get('minUpdateInterval')) | ||
print(' Next Update Grace Period: %s' % config.get('nextUpdateGracePeriod')) | ||
print(' Publish On Start: %s' % config.get('publishOnStart')) | ||
print(' Save Memory: %s' % config.get('saveMemory')) | ||
print(' Signing Algorithm: %s' % config.get('signingAlgorithm')) | ||
print(' Update Schema: %s' % config.get('updateSchema')) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This could be tidied up a bit with a multi-line f-string, but this is minor
print(f""" Allow Extensions: {config.get('allowExtensions')}
Always Update: {config.get('alwaysUpdate')}
...
""")
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will that preserve the 2-space indentation?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like I'll need to use textwrap.dedent()
and indent()
. Let me try something..
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, patch updated. It does look cleaner. 👍
The pki-server ca-crl-show command has been added to make it easier to inspect CRL configuration.
The pki-server ca-crl-ip-find/show commands have been added to make it easier to inspect CRL issuing point configuration.
Kudos, SonarCloud Quality Gate passed! |
@ckelleyRH Thanks! |
The
pki-server ca-crl-show
command has been added to make it easier to inspect CRL configuration.The
pki-server ca-crl-ip-find/show
commands have been added to make it easier to inspect CRL issuing point configuration.https://github.com/dogtagpki/pki/wiki/PKI-Server-CA-CRL-CLI