Skip to content
Open
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
86 changes: 86 additions & 0 deletions Docs/Commands/Confirm-YubiKeyFIDO2Attestation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
---
document type: cmdlet
external help file: powershellYK.dll-Help.xml
HelpUri: ''
Locale: en-SE
Module Name: powershellYK
ms.date: 03-26-2026
PlatyPS schema version: 2024-05-01
title: Confirm-YubiKeyFIDO2Attestation
---

# Confirm-YubiKeyFIDO2Attestation

## SYNOPSIS

{{ Fill in the Synopsis }}

## SYNTAX

### __AllParameterSets

```
Confirm-YubiKeyFIDO2Attestation -AttestationObject <FileInfo> [<CommonParameters>]
```

## ALIASES

This cmdlet has the following aliases,
{{Insert list of aliases}}

## DESCRIPTION

{{ Fill in the Description }}

## EXAMPLES

### Example 1

{{ Add example description here }}

## PARAMETERS

### -AttestationObject

Path to attestation file (e.g. attestation.bin from ssh-keygen -O write-attestation)

```yaml
Type: System.IO.FileInfo
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: Named
IsRequired: true
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
```

### CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
-InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable,
-ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see
[about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216).

## INPUTS

## OUTPUTS

### System.Object

{{ Fill in the Description }}

## NOTES

{{ Fill in the Notes }}

## RELATED LINKS

{{ Fill in the related links here }}

128 changes: 128 additions & 0 deletions Docs/Commands/New-Challenge.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
---
document type: cmdlet
external help file: powershellYK.dll-Help.xml
HelpUri: ''
Locale: en-SE
Module Name: powershellYK
ms.date: 03-26-2026
PlatyPS schema version: 2024-05-01
title: New-Challenge
---

# New-Challenge

## SYNOPSIS

Creates a pseudo random challenge to support FIDO2 attestation output (among other things).

## SYNTAX

### __AllParameterSets

```
New-Challenge -OutFile <FileInfo> [-Length <int>] [-Force] [<CommonParameters>]
```

## ALIASES

## DESCRIPTION

Creates a pseudo random challenge to support FIDO2 attestation output (among other things).

## EXAMPLES

### Example 1

´``powershell
New-Challenge -OutFile "MyChallenge.bin" -Length 256
```
Creates a 256-byte challenge and writes it to "MyChallenge.bin"

## PARAMETERS

### -Force

Force overwriting existing files.

```yaml
Type: System.Management.Automation.SwitchParameter
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
```

### -Length

Length of the challenge in bytes

```yaml
Type: System.Int32
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
```

### -OutFile

Path for the output file.

```yaml
Type: System.IO.FileInfo
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: Named
IsRequired: true
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
```

### CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
-InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable,
-ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see
[about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216).

## INPUTS

## OUTPUTS

### System.Object

{{ Fill in the Description }}

## NOTES

{{ Fill in the Notes }}

## RELATED LINKS

{{ Fill in the related links here }}

18 changes: 17 additions & 1 deletion Docs/Commands/powershellYK.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ HelpInfoUri: ''
Locale: en-US
Module Guid: d947dd9b-87eb-49ea-a373-b91c7acc0917
Module Name: powershellYK
ms.date: 03-19-2026
ms.date: 03-27-2026
PlatyPS schema version: 2024-05-01
System.Collections.Generic.Dictionary`2[System.Object,System.Object]: ''
---
Expand Down Expand Up @@ -34,6 +34,10 @@ Creates a CSR for a slot in the YubiKey.

Sign a certificate request with a YubiKey.

### [Confirm-YubiKeyFIDO2Attestation](Confirm-YubiKeyFIDO2Attestation.md)

{{ Fill in the Synopsis }}

### [Confirm-YubiKeyPIVAttestation](Confirm-YubiKeyPIVAttestation.md)

Confirm YubiKey Attestation.
Expand Down Expand Up @@ -70,6 +74,10 @@ Enables logging from the Yubico SDK.

Enables the Enterprise Attestion feature on the YubiKey FIDO2 device.

### [Export-YubiKeyFIDO2Blob](Export-YubiKeyFIDO2Blob.md)

Exports large blob from YubiKey FIDO2 by Credential ID or Relying Party ID (Origin).

### [Export-YubiKeyPIVCertificate](Export-YubiKeyPIVCertificate.md)

Export certificate from YubiKey PIV
Expand Down Expand Up @@ -114,6 +122,10 @@ YubiKey OTP Information

Gets information about the PIV module and specific slots.

### [Import-YubiKeyFIDO2Blob](Import-YubiKeyFIDO2Blob.md)

Imports large blob to YubiKey FIDO2 by Credential ID or Relying Party ID (Origin).

### [Import-YubiKeyPIV](Import-YubiKeyPIV.md)

Import certificate
Expand All @@ -126,6 +138,10 @@ Lock the YubiKey configuration

Move a key from one slot to another

### [New-Challenge](New-Challenge.md)

Creates a pseudo random challenge to support FIDO2 attestation output (among other things).

### [New-YubiKeyFIDO2Credential](New-YubiKeyFIDO2Credential.md)

Creates a new FIDO2 credential on the connected YubiKey.
Expand Down
50 changes: 0 additions & 50 deletions Module/Cmdlets/Other/GetChallenge.cs

This file was deleted.

Loading
Loading