ZeusWPI / zauth

Zeus AUTHentication Service
MIT License
6 stars 2 forks source link

Add new endpoint to get ssh keys from other user #277

Closed xerbalind closed 4 months ago

xerbalind commented 6 months ago

When updating your user profile it also validates now. Also updated the ssh_keys regex to include new key types.

xerbalind commented 6 months ago

workflow fails because version of time crate is outdated, we should update the dependencies.

rien commented 5 months ago

The ssh keys are currently returned in a JSON. Is this on purpose for a specific goal?

I think it would make more sense to just return them in plain text format as you would find them in an authorized_keys file (separated by newlines).

We could do some content negotiation and tweak the https://github.com/ZeusWPI/zauth/blob/main/src/views/accepter.rs to also allow for responding to txt requests. But that would make it quite complex.