Skip to content

feat: Make methods public to expose data available#69

Merged
grzuy merged 1 commit intocedarcode:masterfrom
sorah:public
Oct 2, 2018
Merged

feat: Make methods public to expose data available#69
grzuy merged 1 commit intocedarcode:masterfrom
sorah:public

Conversation

@sorah
Copy link
Contributor

@sorah sorah commented Oct 1, 2018

Hi! Thank you for working on WebAuthn RP helper library for Ruby. I'm maintaining https://github.com/sorah/clarion, which was implemented with legacy U2F API (u2f-api.js), and I have just replaced the legacy implementation of my app with this gem!

Current implementation hides many data available from authenticators behind the private methods. It is useful to expose them to users of this gem, i.e. logging, auditing, and debugging.

I believe this gem should provide a low-level API for RP implementations. Current implementation doesn't expose the most data available from authenticator, and have to implement reference at the entry points (AuthenticatorAttestationResponse and AuthenticatorAssersionResponse.)

AFAIK WebAuthn is designed to be extensible, so it's useless to force RP developers to implement vendor or enterprise-specific extension into this gem.

(I'm gonna send more PRs and issues I noticed...)

Current implementation hides many data available from authenticators
behind the private methods. It is useful to expose them to users of this
gem, i.e. logging, auditing, and debugging.

I believe this gem should provide a low-level API for RP
implementations.
@grzuy
Copy link
Contributor

grzuy commented Oct 2, 2018

Hi @sorah,

Agree that this helps with debugging, logging and extending.

Thank your for your contribution!

@grzuy grzuy merged commit b7e26e0 into cedarcode:master Oct 2, 2018
@sorah sorah deleted the public branch October 3, 2018 17:23
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

Successfully merging this pull request may close these issues.

2 participants