Prepare for release 1.0.6

This commit is contained in:
Michael Grafnetter
2025-01-16 11:16:23 +01:00
parent b68f1b1ece
commit 92fbd8078e
13 changed files with 45 additions and 29 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
# XML files
[*.{csproj,Build.props}]
[*.{xml,csproj,Build.props}]
indent_size = 4
dotnet_style_operator_placement_when_wrapping = beginning_of_line
tab_width = 4
+13 -2
View File
@@ -2,6 +2,16 @@
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/).
## [1.0.6] - 2025-01-16
This is a bugfix release. Huge thanks to @aseigler for reporting and fixing the issues.
### Fixed
- Implemented a workaround for `PublicKeyCredentialCreationOptions` generated by Entra ID with corrupted BASE64 padding. (Issue #21)
- PowerShell cmdlets should now work even when executed with a service principal identity.
- Resolved the "InvalidOperation: Unable to find type [Microsoft.Graph.PowerShell.Models.MicrosoftGraphFido2AuthenticationMethod]" error when trying to register a passkey.
## [1.0.5] - 2024-11-14
### Fixed
@@ -41,8 +51,9 @@ All notable changes to this project will be documented in this file. The format
- Initial version
[Unreleased]: https://github.com/MichaelGrafnetter/webauthn-interop/compare/v1.0.5...HEAD
[1.0.4]: https://github.com/MichaelGrafnetter/webauthn-interop/compare/v1.0.4...v1.0.5
[Unreleased]: https://github.com/MichaelGrafnetter/webauthn-interop/compare/v1.0.6...HEAD
[1.0.6]: https://github.com/MichaelGrafnetter/webauthn-interop/compare/v1.0.5...v1.0.6
[1.0.5]: https://github.com/MichaelGrafnetter/webauthn-interop/compare/v1.0.4...v1.0.5
[1.0.4]: https://github.com/MichaelGrafnetter/webauthn-interop/compare/v1.0.3...v1.0.4
[1.0.3]: https://github.com/MichaelGrafnetter/webauthn-interop/compare/v1.0.2...v1.0.3
[1.0.2]: https://github.com/MichaelGrafnetter/webauthn-interop/compare/v1.0...v1.0.2
+1 -1
View File
@@ -1,6 +1,6 @@
MIT License
Copyright (c) 2021-2024 Michael Grafnetter
Copyright (c) 2021-2025 Michael Grafnetter
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
@@ -8,7 +8,7 @@
RootModule = 'DSInternals.Passkeys.psm1'
# Version number of this module.
ModuleVersion = '1.0.3'
ModuleVersion = '1.0.6'
# Supported PSEditions
CompatiblePSEditions = @('Desktop','Core')
@@ -23,7 +23,7 @@ Author = 'Michael Grafnetter'
CompanyName = 'DSInternals'
# Copyright statement for this module
Copyright = 'Copyright (c) 2021-2024 Michael Grafnetter. All rights reserved.'
Copyright = 'Copyright (c) 2021-2025 Michael Grafnetter. All rights reserved.'
# Description of the functionality provided by this module
Description = 'Allows administrative registration of passkeys (i.e. FIDO2 security keys and Microsoft Authenticator mobile app) in Microsoft Entra ID (formerly Azure Active Directory) through the Microsoft Graph API.'
@@ -108,7 +108,13 @@ PrivateData = @{
IconUri = 'https://raw.githubusercontent.com/MichaelGrafnetter/DSInternals/master/Src/Icons/module_black.png'
# ReleaseNotes of this module
ReleaseNotes = 'Fixed issues with HMAC secret processing. Note that the API is currently in public preview (beta).'
ReleaseNotes = @'
- Implemented a workaround for PublicKeyCredentialCreationOptions generated by Microsoft with corrupted BASE64 padding.
- Added support for running under a service principal identity.
- Resolved the "InvalidOperation: Unable to find type [Microsoft.Graph.PowerShell.Models.MicrosoftGraphFido2AuthenticationMethod]" error when trying to register a passkey.
Note that the API is currently in public preview (beta).
'@
# Prerelease string of this module
# Prerelease = ''
@@ -9,7 +9,7 @@ else {
}
# Needed for [Microsoft.Graph.PowerShell.Models.MicrosoftGraphFido2AuthenticationMethod] type
Import-Module Microsoft.Graph.Identity.SignIns -ErrorAction Stop
Import-Module -Name Microsoft.Graph.Identity.SignIns -ErrorAction Stop
<#
.SYNOPSIS
@@ -53,9 +53,9 @@ function Get-PasskeyRegistrationOptions
[string] $credentialOptionsUrl = '/beta/users/{0}/authentication/fido2Methods/creationOptions' -f [uri]::EscapeDataString($UserId)
[string] $response = Invoke-MgGraphRequest -Method GET `
-Uri $credentialOptionsUrl `
-Body @{ challengeTimeoutInMinutes = $ChallengeTimeout.TotalMinutes } `
-OutputType Json
-Uri $credentialOptionsUrl `
-Body @{ challengeTimeoutInMinutes = $ChallengeTimeout.TotalMinutes } `
-OutputType Json
# Parse JSON response
return [DSInternals.Win32.WebAuthn.MicrosoftGraphWebauthnCredentialCreationOptions]::Create($response)
@@ -6,12 +6,12 @@
<PackageId>DSInternals.Win32.WebAuthn.Adapter</PackageId>
<Product>WebAuthn Interop Assembly Adapter</Product>
<Title>WebAuthn Interop Assembly Adapter</Title>
<Version>1.0.5</Version>
<AssemblyVersion>1.0.5</AssemblyVersion>
<ProductVersion>1.0.5</ProductVersion>
<FileVersion>1.0.5</FileVersion>
<Version>1.0.6</Version>
<AssemblyVersion>1.0.6</AssemblyVersion>
<ProductVersion>1.0.6</ProductVersion>
<FileVersion>1.0.6</FileVersion>
<Description>Bridge between Fido2.Models and DSInternals.Win32.WebAuthn packages</Description>
<PackageReleaseNotes>- Resolved a bug which prevented the DeletePlatformCredential() method from working.
<PackageReleaseNotes>- Implemented a workaround for PublicKeyCredentialCreationOptions generated by Entra ID with corrupted BASE64 padding.
- Upgraded System.Text.Json to mitigate CVE-2024-43485.
- Windows 10 1903 or newer is required.</PackageReleaseNotes>
</PropertyGroup>
@@ -8,13 +8,12 @@
<PackageId>DSInternals.Win32.WebAuthn</PackageId>
<Product>WebAuthn Interop Assembly</Product>
<Title>WebAuthn Interop Assembly</Title>
<Version>1.0.5</Version>
<AssemblyVersion>1.0.5</AssemblyVersion>
<ProductVersion>1.0.5</ProductVersion>
<FileVersion>1.0.5</FileVersion>
<Version>1.0.6</Version>
<AssemblyVersion>1.0.6</AssemblyVersion>
<ProductVersion>1.0.6</ProductVersion>
<FileVersion>1.0.6</FileVersion>
<Description>FIDO2 / W3C Web Authentication .NET Library for Windows Desktop and CLI Applications</Description>
<PackageReleaseNotes>- Resolved a bug which prevented the DeletePlatformCredential() method from working.
- Upgraded System.Text.Json to mitigate CVE-2024-43485.
<PackageReleaseNotes>- Implemented a workaround for PublicKeyCredentialCreationOptions generated by Entra ID with corrupted BASE64 padding.
- Windows 10 1903 or newer is required.
- A standalone package providing an adapter for data model defined in Fido2.Models is also available.</PackageReleaseNotes>
</PropertyGroup>
@@ -121,7 +121,7 @@ namespace DSInternals.Win32.WebAuthn.Interop
/// Size of JSON extension.
/// </summary>
/// <remarks>This field has been added in WEBAUTHN_AUTHENTICATOR_MAKE_CREDENTIAL_OPTIONS_VERSION_7.</remarks>
private int _jsonExtLength = 0;
private int _jsonExtLength;
/// <summary>
/// JSON extension.
@@ -1,6 +1,5 @@
WEBAUTHN_API_*
WEBAUTHN_MAX_USER_ID_LENGTH
WEBAUTHN_*_CURRENT_VERSION
WEBAUTHN_HASH_ALGORITHM_*
WEBAUTHN_AUTHENTICATOR_HMAC_SECRET_VALUES_FLAG
WEBAUTHN_ASSERTION_VERSION_*
+1 -1
View File
@@ -12,7 +12,7 @@
<!-- Configure NuGet package properties -->
<Authors>Michael Grafnetter</Authors>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<Copyright>Copyright (c) 2021-2024 Michael Grafnetter. All rights reserved.</Copyright>
<Copyright>Copyright (c) 2021-2025 Michael Grafnetter. All rights reserved.</Copyright>
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
<PackageProjectUrl>https://github.com/MichaelGrafnetter/webauthn-interop</PackageProjectUrl>
<RepositoryUrl>https://github.com/MichaelGrafnetter/webauthn-interop.git</RepositoryUrl>
+3 -3
View File
@@ -9,9 +9,9 @@
<IsPackable>false</IsPackable>
<ApplicationIcon>../Icons/app.ico</ApplicationIcon>
<SatelliteResourceLanguages>en-US</SatelliteResourceLanguages>
<AssemblyVersion>1.0.4</AssemblyVersion>
<ProductVersion>1.0.4</ProductVersion>
<FileVersion>1.0.4</FileVersion>
<AssemblyVersion>1.0.6</AssemblyVersion>
<ProductVersion>1.0.6</ProductVersion>
<FileVersion>1.0.6</FileVersion>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)'=='Release'">
+1
View File
@@ -10,6 +10,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
..\.gitmodules = ..\.gitmodules
..\.github\workflows\autobuild.yml = ..\.github\workflows\autobuild.yml
Directory.Build.props = Directory.Build.props
..\global.json = ..\global.json
..\LICENSE = ..\LICENSE
..\.github\README.md = ..\.github\README.md
..\.github\workflows\release.yml = ..\.github\workflows\release.yml
+1 -1
View File
@@ -1,6 +1,6 @@
{
"sdk": {
"rollForward": "feature",
"version": "8.0.303"
"version": "8.0.405"
}
}