Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Docs/Commands/Export-YubiKeyFIDO2Blob.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---
---
document type: cmdlet
external help file: powershellYK.dll-Help.xml
HelpUri: ''
Expand Down Expand Up @@ -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

Expand Down
14 changes: 7 additions & 7 deletions Module/Cmdlets/FIDO2/ExportYubiKeyFIDO2Blob.cs
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
/// <summary>
/// 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).
/// </summary>

// Imports
Expand Down
23 changes: 10 additions & 13 deletions Module/Cmdlets/FIDO2/Import-YubiKeyFIDO2Blob.cs
Original file line number Diff line number Diff line change
@@ -1,21 +1,18 @@
/// <summary>
/// <summary>
/// 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.
/// </summary>

using Microsoft.VisualBasic;
Expand Down
Loading