Skip to content

Maint: Remove dead ca_md setting#1390

Merged
zaphod42 merged 1 commit intopuppetlabs:masterfrom
joshcooper:maint/master/remove-ca_md-setting
Jan 15, 2013
Merged

Maint: Remove dead ca_md setting#1390
zaphod42 merged 1 commit intopuppetlabs:masterfrom
joshcooper:maint/master/remove-ca_md-setting

Conversation

@joshcooper
Copy link
Copy Markdown
Contributor

The ca_md setting was added in commit bb4b5a5 in Aug 2005, but was
never used in that commit or any subsequent commit.

The setting itself is also confusing, because we create digital
signatures on both the agent (when signing the CSR) and the CA (when
signing the x509 cert).

It's also confusing because both encryption and hash algorithms need to
be specified when creating a digital signature, e.g.
sha256WithRSAEncryption. But the existence of the ca_md property might
encourage patches to allow the hash algorithm to be configured, but not
the encryption algorithm.

Long term, we'd like to eliminate hard coding of cryptographic
parameters, as it makes it difficult to upgrade while maintaining
compatibility across different versions of master and agents.

The `ca_md` setting was added in commit bb4b5a5 in Aug 2005, but was
never used in that commit or any subsequent commit.

The setting itself is also confusing, because we create digital
signatures on both the agent (when signing the CSR) and the CA (when
signing the x509 cert).

It's also confusing because both encryption and hash algorithms need to
be specified when creating a digital signature, e.g.
sha256WithRSAEncryption. But the existence of the `ca_md` property might
encourage patches to allow the hash algorithm to be configured, but not
the encryption algorithm.

Long term, we'd like to eliminate hard coding of cryptographic
parameters, as it makes it difficult to upgrade while maintaining
compatibility across different versions of master and agents.
zaphod42 added a commit that referenced this pull request Jan 15, 2013
@zaphod42 zaphod42 merged commit 0f1de9a into puppetlabs:master Jan 15, 2013
paravoid pushed a commit to wikimedia/operations-puppet that referenced this pull request Jun 22, 2015
This setting never had any effect, and has been removed upstream:
puppetlabs/puppet#1390

Change-Id: If95dfce645d9ab0bf28adb4fea946995623e69fe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants