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

vspadmin: Add retirexpub command #480

Merged
merged 4 commits into from
Jun 27, 2024
Merged

Commits on Jun 24, 2024

  1. database: Store xpub keys in a bucket.

    **Warning: This commit contains a database upgrade.**
    
    In order to add future support for retiring xpub keys, the database is
    upgraded such that the keys are now stored in a dedicated bucket which
    can hold multiple values rather than storing a single key as individual
    values in the root bucket.
    
    A new ID field is added to distinguish between keys. This ID is added to
    every ticket record in the database in order to track which pubkey was
    used for each ticket.
    
    A new field named "Retired" has also been added to pubkeys. It is a unix
    timestamp representing the moment the key was retired, or zero for the
    currently active key.
    jholdstock committed Jun 24, 2024
    Configuration menu
    Copy the full SHA
    bc3bf1a View commit details
    Browse the repository at this point in the history
  2. webapi: List xpubs on admin page.

    A new tab is added to the admin page to display current and historic
    xpub keys used by vspd.
    jholdstock committed Jun 24, 2024
    Configuration menu
    Copy the full SHA
    e60607e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    16c9e0c View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2024

  1. vspadmin: Add retirexpub command.

    The new command opens an existing vspd database and replaces the
    currently used xpub with a new one.
    jholdstock committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    c5415f7 View commit details
    Browse the repository at this point in the history