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

Add the ability to print out server info. #44

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Commits on Oct 19, 2024

  1. Add the ability to print out server info.

    In particular, this allows the HTTPS public key to be printed so that
    one can verify that the browser is actually connecting to the expected
    server. For example:
    
    ```
    $ cargo run info
    pizauth version 1.0.5:
      cache directory: /tmp/runtime-ltratt/pizauth
      config file: /home/ltratt/.config/pizauth.conf
    server running:
      HTTP port: 7470
      HTTPS port: 24004
      HTTPS public key: 04:70:57:B0:9A:B4:1C:F9:CB:2E:33:CB:71:D9:B1:7C:5C:6E:84:8F:25:66:F4:C8:1E:3F:41:F8:34:8D:2A:6A:3F:26:D9:A6:57:27:D0:B0:93:09:5B:50:70:D9:DD:1A:A0:DE:33:04:E1:A8:FB:C6:30:D2:92:B1:26:11:E5:75:B9
    ```
    
    Note this requires a bump to the JSON info version.
    ltratt committed Oct 19, 2024
    Configuration menu
    Copy the full SHA
    7d5c1f7 View commit details
    Browse the repository at this point in the history