Downloads:

14,839

Downloads of v 1.1.0:

239

Last Update:

19 Feb 2019

Package Maintainer(s):

Software Author(s):

  • Yubico

Tags:

yubikey yubico admin neo

Yubikey Manager (Install)

This is not the latest version of Yubikey Manager (Install) available.

  • 1
  • 2
  • 3

1.1.0 | Updated: 19 Feb 2019

Downloads:

14,839

Downloads of v 1.1.0:

239

Maintainer(s):

Software Author(s):

  • Yubico

  • 1
  • 2
  • 3
Yubikey Manager (Install) 1.1.0

This is not the latest version of Yubikey Manager (Install) available.

  • 1
  • 2
  • 3

Some Checks Have Failed or Are Not Yet Complete

Not All Tests Have Passed


Validation Testing Passed


Verification Testing Passed

Details

Scan Testing Resulted in Flagged:

This package was submitted (and approved) prior to automated virus scanning integration into the package moderation processs.

We recommend clicking the "Details" link to make your own decision on installing this package.

Details
Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

To install Yubikey Manager (Install), run the following command from the command line or from PowerShell:

>

To upgrade Yubikey Manager (Install), run the following command from the command line or from PowerShell:

>

To uninstall Yubikey Manager (Install), run the following command from the command line or from PowerShell:

>

Deployment Method:

📝 NOTE: This applies to both open source and commercial editions of Chocolatey.

1. Enter Your Internal Repository Url

(this should look similar to https://community.chocolatey.org/api/v2/)


2. Setup Your Environment

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

2. Get the package into your environment

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://community.chocolatey.org/api/v2/. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Copy Your Script

choco upgrade yubikey-manager -y --source="'INTERNAL REPO URL'" --version="'1.1.0'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade yubikey-manager -y --source="'INTERNAL REPO URL'" --version="'1.1.0'" 
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Install yubikey-manager
  win_chocolatey:
    name: yubikey-manager
    version: '1.1.0'
    source: INTERNAL REPO URL
    state: present

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.


chocolatey_package 'yubikey-manager' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '1.1.0'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


cChocoPackageInstaller yubikey-manager
{
    Name     = "yubikey-manager"
    Version  = "1.1.0"
    Source   = "INTERNAL REPO URL"
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'yubikey-manager':
  ensure   => '1.1.0',
  provider => 'chocolatey',
  source   => 'INTERNAL REPO URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


4. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

This package was approved as a trusted package on 19 Feb 2019.

Description

Cross-platform application for configuring any YubiKey over all USB transports.

Screenshot

Features

This application provides an easy way to perform the most common configuration tasks on a YubiKey.

The current version can:

  • Display the serial number and firmware version of a YubiKey.
  • Configure YubiKey Slots. A YubiKey have two slots (short press and long press), which may both be configured for different functionality.
    This tool can configure a Yubico OTP credential, a static password, a challenge-response credential or an OATH HOTP credential in both of these slots.
  • Swap the functionality between two configured YubiKey slots.
  • Enable or disable the different USB connections (USB modes).

NOTE: This is an automatically updated package. If you find it is out of date by more than a week, please contact the maintainer(s) and let them know the package is no longer updating correctly.


tools\chocolateyinstall.ps1
$ErrorActionPreference = 'Stop'

$packageArgs = @{
    packageName    = $env:ChocolateyPackageName
    fileType       = 'exe'
    silentArgs     = "/S"
    
    validExitCodes = @(0)
    url            = 'https://developers.yubico.com/yubikey-manager-qt/Releases/yubikey-manager-qt-1.1.0-win32.exe'
    checksum       = 'c84bc170b5e9bc4979aac242d19b80fa2b8f5587a540dcc7233ee2aafacc77f5'
    checksumType   = 'sha256'
    url64          = 'https://developers.yubico.com/yubikey-manager-qt/Releases/yubikey-manager-qt-1.1.0-win64.exe'
    checksum64     = '1161de1953b1f5cd98be28b3117fb9972bfec08e1548cc5c08633c05b7f434ce'
    checksumType64 = 'sha256'
}

Install-ChocolateyPackage @packageArgs 


tools\chocolateyuninstall.ps1
$ErrorActionPreference = 'Stop'

$packageArgs = @{
  packageName   = $env:ChocolateyPackageName
  softwareName  = 'yubikey manager*'
  fileType      = 'exe'
  silentArgs    = "/S"

  validExitCodes= @(0)
}

[array]$key = Get-UninstallRegistryKey @packageArgs
if ($key.Count -eq 1) {
    $key | ForEach-Object { 
        $packageArgs.file = "$($_.UninstallString)"

        if ($packageArgs.fileType -eq 'MSI') {
            $packageArgs.silentArgs = "$($_.PSChildName) $($packageArgs.silentArgs)"
            $packageArgs.file = ''
        }

        Uninstall-ChocolateyPackage @packageArgs
    }
}
elseif ($key.Count -eq 0) {
    Write-Warning "$env:ChocolateyPackageName has already been uninstalled by other means."
}
elseif ($key.Count -gt 1) {
    Write-Warning "$key.Count matches found!"
    Write-Warning "To prevent accidental data loss, no programs will be uninstalled."
    Write-Warning "Please alert package maintainer the following keys were matched:"
    $key | ForEach-Object {
        Write-Warning "- $_.DisplayName"
    }
}

Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Add to Builder Version Downloads Last Updated Status
Yubikey Manager (Install) 1.2.3 2130 Tuesday, May 18, 2021 Approved
Yubikey Manager (Install) 1.2.2 882 Wednesday, April 14, 2021 Approved
Yubikey Manager (Install) 1.2.1 608 Tuesday, March 30, 2021 Approved
Yubikey Manager (Install) 1.2.0 654 Tuesday, March 16, 2021 Approved
Yubikey Manager (Install) 1.1.5 1841 Thursday, August 13, 2020 Approved
Yubikey Manager (Install) 1.1.4 1328 Wednesday, January 29, 2020 Approved
Yubikey Manager (Install) 1.1.3 801 Tuesday, August 20, 2019 Approved
Yubikey Manager (Install) 1.1.2 418 Monday, June 24, 2019 Approved
Yubikey Manager (Install) 1.1.1 489 Tuesday, March 12, 2019 Approved
Yubikey Manager (Install) 1.1.0 239 Tuesday, February 19, 2019 Approved
Yubikey Manager (Install) 0.5.2 446 Tuesday, July 10, 2018 Approved
Yubikey Manager (Install) 0.5.1 300 Monday, May 14, 2018 Approved
Yubikey Manager (Install) 0.4.0 371 Saturday, December 16, 2017 Approved
Yubikey Manager (Install) 0.3.1 402 Tuesday, August 29, 2017 Approved
Yubikey Manager (Install) 0.3.0 353 Monday, July 3, 2017 Approved

This package has no dependencies.

Discussion for the Yubikey Manager (Install) Package

Ground Rules:

  • This discussion is only about Yubikey Manager (Install) and the Yubikey Manager (Install) package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or Yubikey Manager (Install), or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus