Yubico.DotNetPolyfills 1.11.0

dotnet add package Yubico.DotNetPolyfills --version 1.11.0                
NuGet\Install-Package Yubico.DotNetPolyfills -Version 1.11.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Yubico.DotNetPolyfills" Version="1.11.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Yubico.DotNetPolyfills --version 1.11.0                
#r "nuget: Yubico.DotNetPolyfills, 1.11.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Yubico.DotNetPolyfills as a Cake Addin
#addin nuget:?package=Yubico.DotNetPolyfills&version=1.11.0

// Install Yubico.DotNetPolyfills as a Cake Tool
#tool nuget:?package=Yubico.DotNetPolyfills&version=1.11.0                

Release date: June 28th, 2024

This release introduces significant enhancements and new features for the latest YubiKeys, including support for firmware version 5.7, which allows for temporary disabling of NFC connectivity and checking PIN complexity status. It also expands RSA key support in PIV to 3072 and 4096-bit keys, and includes improvements for YubiKey Bio and Multi-Protocol Edition keys. Additionally, there are optimizations in USB reclaim speed and adjustments to the touch sensor sensitivity and a few bug fixes. Several command classes have been deprecated due to changes in how device info is read by the SDK, and integration test guardrails have been implemented for better security.

Features:

  • Support for YubiKeys with the latest firmware (version 5.7):
    • NFC connectivity can now be temporarily disabled with SetIsNfcRestricted() (#91).
    • Additional property pages on the YubiKey are now read into YubiKeyDeviceInfo (#92)
    • PIN complexity status can be checked with IsPinComplexityEnabled (#92)
    • PIN complexity specific error messages and exceptions (#112)
    • The set of YubiKey applications that are capable of being put into FIPS mode can be retrieved with FipsCapable. The set of YubiKey applications that are in FIPS mode can be retrieved with FipsApproved (#92)
    • The part number for a key’s Secure Element processor, if available, can be retrieved with PartNumber (#92)
    • The set of YubiKey applications that are blocked from being reset can be retrieved with ResetBlocked (#92)
    • PIV: 3072 and 4096 RSA keys can now be generated and imported (#100).
    • PIV: Keys can be moved between the different slots on the YubiKey. Any key except the attestation key can be moved from one slot to another (#103)
  • Support for YubiKey Bio/Bio Multi-Protocol Edition keys:
    • Get bio metadata (#108)
    • Added new verification policy enum values (PIN_OR_MATCH_ONCE, PIN_OR_MATCH_ALWAYS) (#108)
    • Bio user verification (#108)
    • Device Reset (#110)
  • The USB reclaim speed, which controls the time it takes to switch from one YubiKey application to another, has been reduced for compatible YubiKeys. To use the previous 3-second reclaim timeout for all keys, see UseOldReclaimTimeoutBehavior (#93).
  • The sensitivity of the YubiKey’s capacitive touch sensor can now be temporarily adjusted with SetTemporaryTouchThreshold (#95)

Bug fixes:

  • Update ManagementKeyAlgorithm on PIV Application reset (#105)
  • Queue macOS input reports so that large responses aren't dropped (#84)
  • Default back to old SCardConnect behavior. Reverts the change in behavior to open smart card handles exclusively. Instead now defaults back to shared like it was before, but allows for applications to toggle between the new and old behavior through the use of AppContext.SetSwitch (#83)

Miscellaneous:

Dependencies:

  • Update xUnit and Microsoft.NET.Test.Sdk (#94)

New Contributors

Full Changelog: https://github.com/Yubico/Yubico.NET.SDK/compare/1.10.0...1.11.0

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 is compatible. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Yubico.DotNetPolyfills:

Package Downloads
Yubico.Core

Yubico.Core is a support library used by other .NET Yubico libraries. You should likely never need to consume this package directly, as it will be included with other libraries.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.11.0 20,829 6/29/2024
1.10.0 14,455 4/11/2024
1.9.1 18,503 11/15/2023
1.9.0 2,191 10/13/2023
1.8.0 4,005 6/29/2023
1.7.0 3,221 4/3/2023
1.6.1 1,878 2/3/2023
1.6.0 655 1/16/2023
1.5.1 1,506 11/18/2022
1.5.0 775 10/28/2022
1.4.2 1,489 9/27/2022
1.4.1 1,006 9/12/2022
1.4.0 2,033 6/30/2022
1.3.1 1,335 4/14/2022
1.3.0 1,276 4/1/2022
1.2.0 1,246 2/8/2022
1.1.0 720 12/3/2021
1.0.2 749 10/27/2021
1.0.0 838 8/30/2021
1.0.0-Beta.20210721.1 227 7/21/2021
1.0.0-Beta.20210618.1 282 6/18/2021