Skip to content

Add support for configurable DKIM key sizes#3030

Open
schueffi wants to merge 1 commit intopostalserver:mainfrom
schueffi:add_configurable_dkim_keysize
Open

Add support for configurable DKIM key sizes#3030
schueffi wants to merge 1 commit intopostalserver:mainfrom
schueffi:add_configurable_dkim_keysize

Conversation

@schueffi
Copy link

@schueffi schueffi commented Jul 2, 2024

In order to support DKIM RSA key sizes other than 1024, a new config variable default_dkim_key_size has been introduced. The default value still is 1024 to make it backwards compatible, but it now supports e.g. 2048 or 4096 bit keys as well.

At the time of this commit (mid-2024), having 2048 bit keys is recommended by the National Institute of Standards and Technology (NIST)

In order to support DKIM RSA key sizes other than 1024, a new config
variable default_dkim_key_size has been introduced. The default value
still is 1024 to make it backwards compatible, but it now supports
e.g. 2048 or 4096 bit keys as well.

At the time of this commit (mid-2024), having 2048 bit keys is
recommended by the National Institute of Standards and Technology (NIST)
@github-actions
Copy link
Contributor

This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days.

@github-actions
Copy link
Contributor

This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days.

@github-actions
Copy link
Contributor

This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days.

@github-actions
Copy link
Contributor

This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days.

@github-actions
Copy link
Contributor

This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days.

@github-actions
Copy link
Contributor

github-actions bot commented Jul 1, 2025

This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days.

@github-actions
Copy link
Contributor

This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days.

@github-actions
Copy link
Contributor

github-actions bot commented Oct 7, 2025

This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days.

@github-actions
Copy link
Contributor

This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days.

@github-actions
Copy link
Contributor

github-actions bot commented Jan 9, 2026

This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days.

@github-actions github-actions bot added the stale label Jan 9, 2026
@willpower232 willpower232 removed the stale label Jan 9, 2026
michaeldoehler pushed a commit to relationsoftware/postal that referenced this pull request Jan 21, 2026
Adds default_dkim_key_size configuration option to control the size
of newly generated DKIM keys.

Cherry-picked from postalserver/postal PR postalserver#3030

Co-authored-by: schueffi <schueffi@users.noreply.github.com>
Co-authored-by: openhands <openhands@all-hands.dev>
@NickBouwhuis
Copy link

I wonder why this commit is not being taken into consideration. Having a configurable key size or at least a default of 2048 is very desirable.

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.

3 participants