Skip to content

DNScrypt - lower the key validity period #22

Open

Description

As discussed over here: AdguardTeam/AdGuardHome#6131
Please lower the default days as the key validity period for this server is excessively long (365 days).

Of course, it can be adjusted manually afterwards.
It seems to me a good idea to reduce the number of days, by default already significantly.
Thanks.

Activity

  1. ameshkov commented on Aug 25, 2023

    @ameshkov
    Owner

    This default was chosen because the current implementation does not have a certificate rotation mechanism, the cert is only changed when you restart the server. This in turn will cause some troubles for the DNS client as there's no clear signal for when the client needs to fetch the new certificate, basically now it does that on every timeout error.

    All in all, the task is much more complex than just changing a single constant.

    What for the original claim that it reduces forward secrecy, I'd argue that the threat is a bit exaggerated.

  2. ameshkov commented on Sep 13, 2023

    @ameshkov
    Owner

    If the server runs for longer than 365 days, the clients won't be able to establish connection with it since the cert will be expired.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions