-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Redesign how credentials are looked up in GetAssertion
- Loading branch information
Showing
15 changed files
with
1,145 additions
and
552 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Changelog | ||
All notable changes to this project will be documented in this file. | ||
|
||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), | ||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||
|
||
## [Unreleased] | ||
|
||
- use 2021 edition | ||
- use @szszszsz's credential ID shortening | ||
- get rid of the two big heaps, only cache timestamp + filename in GetAssertion | ||
- bump to the released dependencies | ||
- integrate `dispatch-fido` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "fido-authenticator" | ||
version = "0.0.0-unreleased" | ||
version = "0.1.0" | ||
authors = ["Nicolas Stalder <[email protected]>"] | ||
edition = "2021" | ||
license = "Apache-2.0 OR MIT" | ||
|
@@ -10,6 +10,7 @@ documentation = "https://docs.rs/fido-authenticator" | |
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[dependencies] | ||
ctap-types = "0.1.0" | ||
delog = "0.1.0" | ||
heapless = "0.7" | ||
interchange = "0.2.0" | ||
|
@@ -18,10 +19,15 @@ serde = { version = "1.0", default-features = false } | |
serde_cbor = { version = "0.11.0", default-features = false } | ||
serde-indexed = "0.1.0" | ||
|
||
ctap-types = { git = "https://github.com/solokeys/ctap-types" } | ||
trussed = { git = "https://github.com/trussed-dev/trussed" } | ||
|
||
apdu-dispatch = { version = "0.1", optional = true } | ||
ctaphid-dispatch = { version = "0.1", optional = true } | ||
iso7816 = { version = "0.1", optional = true } | ||
|
||
[features] | ||
default = [] | ||
dispatch = ["apdu-dispatch", "ctaphid-dispatch", "iso7816"] | ||
disable-reset-time-window = [] | ||
enable-fido-pre = [] | ||
|
||
|
@@ -32,6 +38,6 @@ log-debug = [] | |
log-warn = [] | ||
log-error = [] | ||
|
||
# [dev-dependencies] | ||
[dev-dependencies] | ||
# quickcheck = "1" | ||
# rand = "0.8.4" | ||
rand = "0.8.4" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.