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

Idea: Use keyring to authenticate? #307

Open
vdice opened this issue Feb 7, 2022 · 2 comments
Open

Idea: Use keyring to authenticate? #307

vdice opened this issue Feb 7, 2022 · 2 comments
Labels
question Further information is requested

Comments

@vdice
Copy link
Member

vdice commented Feb 7, 2022

Support for signing and verification of bindles, both on the client and server side, will soon be fully implemented. So, client and server both must have their own secret keys as well as access to keyrings with accepted public keys for signing and verification actions.

I'm wondering if we also want to use these same assets for the purposes of authentication between client and server? (Currently, bindle supports basic auth and oidc in this realm.)

The main use case I'm envisioning is a server configured with a keyring of approved public keys and operators wish to only allow endpoint requests (regardless of type) from this same set of identities.

Would this be muddying the waters and/or overextending the key/identity logic in bindle?

@thomastaylor312
Copy link
Contributor

It might be muddying the waters, but I really like the idea. The initial setup would be a bit gnarly, but after that it could be nice. @fibonacci1729 or @technosophos any thoughts here?

@thomastaylor312 thomastaylor312 added the question Further information is requested label Feb 10, 2022
@technosophos
Copy link
Contributor

Effectively, yes... you could do that. Option A would be to say "any key in the keyring with roles (X, Y, Z) can be used to authenticate". Option B would be to retain a separate map that says that "users (A, B, C) can auth by verifying their key ownership"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants