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

New legacy id generator #4875

Merged
merged 2 commits into from
Oct 24, 2024
Merged

New legacy id generator #4875

merged 2 commits into from
Oct 24, 2024

Commits on Oct 23, 2024

  1. Add a new sequential number generator: legacy2

    The current generator has a problem with converting from hex to decimal
    the range boundaries creating gaps between ranges. This a problem when
    third parties tools are used to with certificates because contiguous
    range are expected.
    
    This commit introduce the generator legacy2. This uses same
    configuration parameter but hex value are specified by the prefix '0x'.
    
    When value are written to the configuration value it is possible to set
    the radix with the options:
    - dbs.cert.id.radix (default to 16)
    - dbs.key.id.radix (default to 16)
    - dbs.request.id.radix (default to 10)
    
    Additionally, the new command `pki-server <subsystem>-id-generator-*`
    has been added to migrate from the legacy generator to the legacy2 or to
    random.
    fmarco76 committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    05c3f29 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    904d6a7 View commit details
    Browse the repository at this point in the history