linux-credentials / linux-credentials/libwebauthn
[Extensions] Introduce ClientBehaviour model
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 579
- Forks
- 27
- Avg merge
- 4d 6h
- Merged PRs (30d)
- 1
Description
Extension processing also **alter platform behaviour**. As an example [12.1. Credential Protection (credProtect)](https://github.com/linux-credentials/libwebauthn/pull/77#issuecomment-2674105649) may require performing additional authenticator checks, in certain circumstances. The need for these checks may be represented in a new `ClientBehaviour` struct, to be potentially altered during extension processing:
```rust
trait ClientExtensionProcessing {
fun get(&self, input: &G, &mut clientBehaviour: ClientBehaviour): ExtensionResult
fun create(&self, input: &C, &mut clientBehaviour: ClientBehaviour): ExtensionResult
}
```
_Originally posted by @AlfioEmanueleFresta in https://github.com/linux-credentials/libwebauthn/issues/77#issuecomment-2674105649_
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the ClientExtensionProcessing trait and the current extension-processing implementations; compare how get and create receive their inputs. Define the scope and representation of ClientBehaviour, then verify that extension processing can alter it for the additional authenticator checks described in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- authentication, security
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100