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

Admin post certificate #120

Closed
wants to merge 3 commits into from

Commits on Nov 16, 2023

  1. Sync go version with EVE; remove use of deprecated

    lib io/ioutil
    
    Signed-off-by: Paul Gaiduk <[email protected]>
    europaul committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    e023e24 View commit details
    Browse the repository at this point in the history

Commits on Nov 28, 2023

  1. Add signing certificate set endpoint

    * Added an endpoint at /admin/certs that will accept incoming POST requests
    to set Adam's signing certificate
    * Changed configs to reference pathes to certificates and keys instead
    of copying
    * Added utils to write files atomically
    
    Signed-off-by: Paul Gaiduk <[email protected]>
    europaul committed Nov 28, 2023
    Configuration menu
    Copy the full SHA
    4f3b5f3 View commit details
    Browse the repository at this point in the history

Commits on Jan 12, 2024

  1. Refactor certificate and key creation logic

    This commit refactors the code related to creating certificates and keys. It now checks if the files already exist before creating new ones. This way Adam doesn't overwrite those in case of a restart.
    
    Signed-off-by: Paul Gaiduk <[email protected]>
    europaul committed Jan 12, 2024
    Configuration menu
    Copy the full SHA
    650ce9a View commit details
    Browse the repository at this point in the history