Skip to content
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

Cert module fixes #55

Merged
merged 2 commits into from Sep 26, 2018
Merged

Conversation

SilleBille
Copy link
Member

Copy link
Contributor

@edewata edewata left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a minor enhancement request. Everything else is good. ACK.

# audit and CA certs require special flags set in NSSDB
# TODO: When CA renewal is added, add the corresponding trust attrs for CA
trust_attributes = None
if cert_tag == 'audit_signing':
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's add another case for cert_id == 'ca_signing' although we may not support renewing CA signing cert right now. The flag should be "CT,C,C". The "u" flag will automatically be added by NSS if the cert has a corresponding key in the database.

# TODO: When CA renewal is added, add the corresponding trust attrs for CA
trust_attributes = None
if cert_tag == 'audit_signing':
trust_attributes = 'u,u,Pu'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's change it to ",,P". The "u" flag will automatically be added by NSS if the cert has a corresponding key in the database.

@SilleBille SilleBille force-pushed the cert_module_fixes branch 3 times, most recently from 8190e6b to b85d2df Compare September 26, 2018 13:57
`pki-server cert-create --serial <serial>` option now accepts both hex
and int. This patch syncs up with other modules on processing the user
provided --serial option

Ticket: https://pagure.io/dogtagpki/issue/3067

Signed-off-by: Dinesh Prasanth M K <dmoluguw@redhat.com>
The audit_signing and ca_signing require special flags to be set
in nssdb to render it useful. This patch fixes this issue.

Ticket: https://pagure.io/dogtagpki/issue/3066

Signed-off-by: Dinesh Prasanth M K <dmoluguw@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Bug fixes Enhancement New features and enhancements related to the product
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants