This is a public, read-only report. Striff reads this repository's docs, turns each sentence that makes a claim about the code into a rule, and checks the rule against the code on the default branch. How this works
For more control of the connection instance, YubiKit 2.3.0 adds YubiKeyConnection YubiKeyDevice.openConnection(type) API.
YubiKeyDevice has an openConnection method
Holds
YubiKitManager.listDeviceRecords() returns a list of DesktopDeviceRecord objects, each containing the device, its DeviceInfo, and a DesktopDeviceSelector that can be used to target that device.
4 rules from this sentence
YubiKitManager depends on DesktopDeviceRecord
Holds
DesktopDeviceRecord depends on DeviceInfo
Holds
DesktopDeviceRecord depends on DesktopDeviceSelector
Holds
YubiKitManager has a listDeviceRecords method
Holds
Credential operations provided by WebAuthnClient use classes which map to standard Webauthn types and allow easier interoperability with RPs. For example PublicKeyCredential.toMap() returns a standard Java Map object which can be serialized to JSON representation:
WebAuthnClient depends on PublicKeyCredential
Holds
For example PublicKeyCredential.toMap() returns a standard Java Map object which can be serialized to JSON representation:
PublicKeyCredential has a toMap method
Holds
To communicate with the Management application on a YubiKey, use the ManagementSession class. The class provides constructors for all types of YubiKeyConnections, as well as a factory method which takes a YubiKeyDevice and will use the best suited connection type available:
ManagementSession depends on YubiKeyDevice
Holds
The YKPiv PivProvider needs an active PivSession to be able to perform any actions.
PivProvider depends on PivSession
Holds
You can either pass an instance of PivSession directly to the constructor of PivProvider, or you can provide a Callback which will be invoked to supply a PivSession whenever one is required.
PivProvider depends on Callback
Holds
To communicate with the YubiOTP application on a YubiKey, use the YubiOtpSession class. The class provides constructors for all supported types of YubiKeyConnections (OtpConnection over USB, and SmartCardConnection over NFC), as well as a factory method which takes a YubiKeyDevice and will use the best suited connection type available: