From 2e5c8e4c456407767c786735877ffcbf01182070 Mon Sep 17 00:00:00 2001 From: "J.L.M" Date: Tue, 24 Mar 2026 14:46:15 +0100 Subject: [PATCH] Fixed some typos and smaller issues in summary and docs section. --- Docs/Commands/Export-YubiKeyFIDO2Blob.md | 6 ++--- .../Cmdlets/FIDO2/ExportYubiKeyFIDO2Blob.cs | 14 +++++------ .../Cmdlets/FIDO2/Import-YubiKeyFIDO2Blob.cs | 23 ++++++++----------- 3 files changed, 20 insertions(+), 23 deletions(-) diff --git a/Docs/Commands/Export-YubiKeyFIDO2Blob.md b/Docs/Commands/Export-YubiKeyFIDO2Blob.md index d583f72..dfefd9a 100644 --- a/Docs/Commands/Export-YubiKeyFIDO2Blob.md +++ b/Docs/Commands/Export-YubiKeyFIDO2Blob.md @@ -1,4 +1,4 @@ ---- +--- document type: cmdlet external help file: powershellYK.dll-Help.xml HelpUri: '' @@ -40,11 +40,11 @@ Requires YubiKey firmware version 5.7.4 or later. ### Example 1 ```powershell -PS C:\> Export-YubiKeyFIDO2Blob -RelyingPartyID "powershellYK" -OutFile storedfile.txt +PS C:\> Export-YubiKeyFIDO2Blob -RelyingPartyID "powershellYK" -OutFile storedfile.txt Touch the YubiKey... ``` -Exports the large blob for the credential with the specified Credential ID to the specified output file. +Exports the large blob for the credential associated with the specified Relying Party ID (or unique display name) to the output file. ## PARAMETERS diff --git a/Module/Cmdlets/FIDO2/ExportYubiKeyFIDO2Blob.cs b/Module/Cmdlets/FIDO2/ExportYubiKeyFIDO2Blob.cs index 1d85dbf..329a36c 100644 --- a/Module/Cmdlets/FIDO2/ExportYubiKeyFIDO2Blob.cs +++ b/Module/Cmdlets/FIDO2/ExportYubiKeyFIDO2Blob.cs @@ -1,14 +1,14 @@ /// /// Allows the return of a large blob associated with a FIDO2 credential, which may contain additional metadata or state information for that credential. -/// Requires a YubiKey with FIDO2 support and administrator privileges on Windows´. -/// +/// Requires a YubiKey with FIDO2 support and administrator privileges on Windows. +/// /// .EXAMPLE -/// Export-YubiKeyFIDO2Blob -OutFile fileName.txt -RelyingPartyID "demo.yubico.com" -/// Exports a large blob to file when there is no more than one credential for the Relying Party on the YubiKey -/// +/// Export-YubiKeyFIDO2Blob -RelyingPartyID "demo.yubico.com" -OutFile fileName.txt +/// Exports a large blob to a file when there is no more than one credential for the relying party on the YubiKey. +/// /// .EXAMPLE -/// Export-YubiKeyFIDO2Blob -OutFile fileName.txt -CredentialId "19448fe...67ab9207071e" -/// Exports a large blob to file for a specified FIDO2 Credential by ID (handles multiple entries for the same Relying Party) +/// Export-YubiKeyFIDO2Blob -CredentialId "19448fe...67ab9207071e" -OutFile fileName.txt +/// Exports a large blob to a file for a specified FIDO2 credential by ID (use when the RP has multiple credentials). /// // Imports diff --git a/Module/Cmdlets/FIDO2/Import-YubiKeyFIDO2Blob.cs b/Module/Cmdlets/FIDO2/Import-YubiKeyFIDO2Blob.cs index 97eae12..3b4125b 100644 --- a/Module/Cmdlets/FIDO2/Import-YubiKeyFIDO2Blob.cs +++ b/Module/Cmdlets/FIDO2/Import-YubiKeyFIDO2Blob.cs @@ -1,21 +1,18 @@ -/// +/// /// Allows uploading of large blobs to the YubiKey FIDO2 applet, associated with a specific credential ID or relying party. /// Requires a YubiKey with FIDO2 support and administrator privileges on Windows. -/// -/// Sends minimum PIN length to specified relying party -/// +/// /// .EXAMPLE -/// Set-YubiKeyFIDO2 -LargeBlob test.txt -RelyingPartyID "demo.yubico.com" -/// Imports a file as a large blob when there is no more than one credential for the Relying Party on the YubiKey -/// +/// Import-YubiKeyFIDO2Blob -LargeBlob test.txt -RelyingPartyID "demo.yubico.com" +/// Imports a file as a large blob when there is no more than one credential for the Relying Party on the YubiKey. +/// /// .EXAMPLE -/// Set-YubiKeyFIDO2 -LargeBlob test.txt -CredentialId "19448fe...67ab9207071e" -/// Imports a file as a large blob for a specified FIDO2 Credential by ID (handles multiple entries for the same Relying Party) -/// +/// Import-YubiKeyFIDO2Blob -LargeBlob test.txt -CredentialId "19448fe...67ab9207071e" +/// Imports a file as a large blob for a specified FIDO2 credential by ID (use when the RP has multiple credentials). +/// /// .EXAMPLE -/// cd C:\CODE -/// Set-YubiKeyFIDO2 -LargeBlob test.txt -CredentialId "19448fe...67ab9207071e" -Force -/// Imports a file as a large blob and overwrites any existing blob entry for that credential without prompting +/// Import-YubiKeyFIDO2Blob -LargeBlob test.txt -CredentialId "19448fe...67ab9207071e" -Force +/// Imports a file as a large blob and overwrites any existing blob entry for that credential without prompting. /// using Microsoft.VisualBasic;