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

SSH door access integration #10

Open
2 tasks
braaar opened this issue Sep 16, 2023 · 0 comments
Open
2 tasks

SSH door access integration #10

braaar opened this issue Sep 16, 2023 · 0 comments

Comments

@braaar
Copy link

braaar commented Sep 16, 2023

We want to

  • store SSH public keys on users in mulysa (user editable field)
  • add an API endpoint to mulysa that can be queried by the SSH door server or other scripts

The desired API endpoint:

  • HTTP GET
  • input parameter: SSH fingerprint (string)
  • This endpoint takes in an SSH fingerprint, goes through the list of users in mulysa and finds all the users whose SSH public key match the provided fingerprint
  • returns either
    • 200 with a list of SSH public keys and information about the corresponding users such as username and whether they have door access
    • 400 invalid fingerprint or something like that
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant