Skip to content

Commit

Permalink
add solokey to CI, update readme some more
Browse files Browse the repository at this point in the history
  • Loading branch information
micolous committed Oct 26, 2023
1 parent ba87a6d commit c7d30bd
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ jobs:
# handle.
- if: runner.os != 'windows'
run: cargo run --bin fido-key-manager -- --help
- if: runner.os != 'windows'
run: cargo run --bin fido-key-manager --features solokey -- --help
- run: cargo run --bin fido-mds-tool -- --help

authenticator:
Expand All @@ -88,7 +90,7 @@ jobs:
- softtoken
- usb
- bluetooth,nfc,usb,ctap2-management
- bluetooth,cable,cable-override-tunnel,ctap2-management,nfc,softpasskey,softtoken,usb
- bluetooth,cable,cable-override-tunnel,ctap2-management,nfc,softpasskey,softtoken,usb,vendor-solokey
os:
- ubuntu-latest
- windows-latest
Expand Down
14 changes: 12 additions & 2 deletions fido-key-manager/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ Start-Process -FilePath "powershell" -Verb RunAs
.\target\debug\fido-key-manager.exe --help
```

By default, Cargo will build `fido-key-manager` with the `nfc` and `usb`
[features][]. Additional features are described in `Cargo.toml` and in the
remainder of this document.

## Commands

Most `fido-key-manager` commands (except `info` and `factory-reset`) will
Expand Down Expand Up @@ -98,9 +102,13 @@ of the commands, or returns an unexpected value.

### SoloKey 2 / Trussed

> **Tip:** this functionality is only available when `fido-key-manager` is
> built with `--features solokey`.
SoloKey 2 / Trussed commands are currently **only** supported over USB HID. NFC
support may be added in future, but we have encountered many problems
communicating with SoloKey / Trussed devices *at all* over NFC.
communicating with SoloKey and Trussed devices *at all* over NFC, which has made
things difficult.

Command | Description
------- | -----------
Expand All @@ -110,7 +118,8 @@ Command | Description
## Platform-specific notes

Bluetooth is currently disabled by default, as it's not particularly reliable on
anything but macOS, and can easily accidentally select nearby devices.
anything but macOS, and can easily accidentally select nearby devices. It can be
enabled with `--features bluetooth`.

### Linux

Expand Down Expand Up @@ -218,3 +227,4 @@ As long as you're running `fido-key-manager` as Administrator:
* USB support should "just work".

[1]: https://learn.microsoft.com/en-us/previous-versions/bb756929(v=msdn.10)
[features]: https://doc.rust-lang.org/cargo/reference/features.html

0 comments on commit c7d30bd

Please sign in to comment.