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

Remove non-essential public certificate attributes #380

Merged
merged 1 commit into from
May 10, 2024

Conversation

cmd-ntrf
Copy link
Contributor

@cmd-ntrf cmd-ntrf commented May 6, 2024

The following certificate attributes have no use in the encryption or decryption process as it is implemented in hiera-eyaml:

  • subject
  • version
  • digest type
  • extensions

These attributes are required when executing with JRuby to sign the certificate:

  • begin date
  • end date

The attributes that are always essential are the serial number and the public key. When left unset, the serial number is generated randomly or set to 0, which is fine in the context of hiera-eyaml.

The following certificate attributes have no use in the
encryption or decryption process as it is implemented in hiera-eyaml:
- subject
- version
- digest type
- extensions

These attributes are required when executing with JRuby to sign the
certificate:
- begin date
- end date

The attributes that are always essential are the serial number and
the public key. When left unset, the serial number is generated
randomly or set to 0, which is fine in the context of hiera-eyaml.
@bastelfreak bastelfreak merged commit 3738e3f into voxpupuli:master May 10, 2024
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants