Unpacking Software Livestream

Join our monthly Unpacking Software livestream to hear about the latest news, chat and opinion on packaging, software deployment and lifecycle management!

Learn More

Chocolatey Product Spotlight

Join the Chocolatey Team on our regular monthly stream where we put a spotlight on the most recent Chocolatey product releases. You'll have a chance to have your questions answered in a live Ask Me Anything format.

Learn More

Chocolatey Coding Livestream

Join us for the Chocolatey Coding Livestream, where members of our team dive into the heart of open source development by coding live on various Chocolatey projects. Tune in to witness real-time coding, ask questions, and gain insights into the world of package management. Don't miss this opportunity to engage with our team and contribute to the future of Chocolatey!

Learn More

Calling All Chocolatiers! Whipping Up Windows Automation with Chocolatey Central Management

Webinar from
Wednesday, 17 January 2024

We are delighted to announce the release of Chocolatey Central Management v0.12.0, featuring seamless Deployment Plan creation, time-saving duplications, insightful Group Details, an upgraded Dashboard, bug fixes, user interface polishing, and refined documentation. As an added bonus we'll have members of our Solutions Engineering team on-hand to dive into some interesting ways you can leverage the new features available!

Watch On-Demand
Chocolatey Community Coffee Break

Join the Chocolatey Team as we discuss all things Community, what we do, how you can get involved and answer your Chocolatey questions.

Watch The Replays
Chocolatey and Intune Overview

Webinar Replay from
Wednesday, 30 March 2022

At Chocolatey Software we strive for simple, and teaching others. Let us teach you just how simple it could be to keep your 3rd party applications updated across your devices, all with Intune!

Watch On-Demand
Chocolatey For Business. In Azure. In One Click.

Livestream from
Thursday, 9 June 2022

Join James and Josh to show you how you can get the Chocolatey For Business recommended infrastructure and workflow, created, in Azure, in around 20 minutes.

Watch On-Demand
The Future of Chocolatey CLI

Livestream from
Thursday, 04 August 2022

Join Paul and Gary to hear more about the plans for the Chocolatey CLI in the not so distant future. We'll talk about some cool new features, long term asks from Customers and Community and how you can get involved!

Watch On-Demand
Hacktoberfest Tuesdays 2022

Livestreams from
October 2022

For Hacktoberfest, Chocolatey ran a livestream every Tuesday! Re-watch Cory, James, Gary, and Rain as they share knowledge on how to contribute to open-source projects such as Chocolatey CLI.

Watch On-Demand

Downloads:

48

Downloads of v 4.1.1:

48

Last Update:

30 Jul 2020

Package Maintainer(s):

Software Author(s):

  • Duo Security
  • Inc.

Tags:

2fa mfa security authentication admin

Duo Windows Logon

Downloads:

48

Downloads of v 4.1.1:

48

Maintainer(s):

Software Author(s):

  • Duo Security
  • Inc.

Duo Windows Logon

  • 1
  • 2
  • 3

All Checks are Passing

3 Passing Tests


Validation Testing Passed


Verification Testing Passed

Details

Scan Testing Successful:

No detections found in any package files

Details
WARNING

This package was rejected on 26 Sep 2020. The reviewer flcdrg has listed the following reason(s):

chocolatey-ops (reviewer) on 30 Jul 2020 13:27:52 +00:00:

duo-win-login has passed automated validation. It may have or may still fail other checks like testing (verification).
NOTE: No required changes that the validator checks have been flagged! It is appreciated if you fix other items, but only Requirements will hold up a package version from approval. A human review could still turn up issues a computer may not easily find.

Suggestions

Suggestions are either newly introduced items that will later become Guidelines or items that are don't carry enough weight to become a Guideline. Either way they should be considered. A package version can be approved without addressing Suggestion comments.

Notes

Notes typically flag things for both you and the reviewer to go over. Sometimes this is the use of things that may or may not be necessary given the constraints of what you are trying to do and/or are harder for automation to flag for other reasons. Items found in Notes might be Requirements depending on the context. A package version can be approved without addressing Note comments.

  • The package takes a dependency on Chocolatey. The reviewer will ensure the package uses a specific Chocolatey feature that requires a minimum version. More...

chocolatey-ops (reviewer) on 30 Jul 2020 13:32:57 +00:00:

duo-win-login has passed automated testing.
This is not the only check that is performed so check the package page to ensure a 'Ready' status.
Please visit https://gist.github.com/0a97fd8f23e03d2e89f734337db3bec6 for details.
This is an FYI only. There is no action you need to take.

gep13 (reviewer) on 31 Aug 2020 10:04:32 +00:00:

Can you help me understand how this package is different from this one?

https://chocolatey.org/packages/duo-authentication#files

Thanks

chocolatey-ops (reviewer) on 20 Sep 2020 10:05:34 +00:00:

We've found duo-win-login v4.1.1 in a submitted status and waiting for your next actions. It has had no updates for 20 or more days since a reviewer has asked for corrections. Please note that if there is no response or fix of the package within 15 days of this message, this package version will automatically be closed (rejected) due to being stale.

Take action:

  • Log in to the site and respond to the review comments.
  • Resubmit fixes for this version.
  • If the package version is failing automated checks, you can self-reject the package.

If your package is failing automated testing, you can use the chocolatey test environment to manually run the verification and determine what may need to be fixed.

Note: We don't like to see packages automatically rejected. It doesn't mean that we don't value your contributions, just that we can not continue to hold packages versions in a waiting status that have possibly been abandoned. If you don't believe you will be able to fix up this version of the package within 15 days, we strongly urge you to log in to the site and respond to the review comments until you are able to.

KakersUK (maintainer) on 21 Sep 2020 14:18:54 +00:00:

Ah looks like a duplicate.

When I started working on this package there wasn't a solution and I forgot to double check before submitting. Seems that package got approved somewhat after.

You can remove this package, I've also removed it from my au-package repo so it won't auto submit updates.

flcdrg (reviewer) on 26 Sep 2020 21:25:25 +00:00:

Rejecting as requested
Status Change - Changed status of package from 'submitted' to 'rejected'.

Description

This package installs the Duo Authentication for Windows Logon package from the pre-compiled files supplied by Duo Security.

Important: The IKEY, SKEY and HOST parameters must be set otherwise installation will fail.

Package installation defaults

By default, installation of this package:

  • Will enable fail open.
  • Will enable auto push.
  • Will protect both local login and RDP.
  • Will NOT enable Smart Card support.
  • Will NOT protect UAC protection.

Package Parameters

Defaults are listed in {brackets}, a full list of configuration options are availabe in the Duo documentation.

Please Note: To have choco remember parameters on upgrade, be sure to set choco feature enable -n=useRememberedArgumentsForUpgrades.

Required and default settings:

  • IKEY - Your Duo RDP application's integration key.

  • SKEY - Your Duo RDP application's secret key.

  • APIHOST - Your Duo RDP application's secret key.

  • AUTOPUSH - #1 to automatically send a push request, or #0 to disable automatic push {#1}.

  • FAILOPEN - #1 to allow access when Duo's service is unreachable, or #0 to block access without Duo MFA {#1}.

  • RDPONLY - #1 to only require Duo for remote logons, or #0 to require Duo for console and RDP logons {#0}.

  • SMARTCARD - #1 to allow smart card login as an alternative to Duo, or #0 to disable the Windows smart card provider {#0}.

  • WRAPSMARTCARD - #1 to require Duo after smart card primary logon, or #0 to allow smart card logon without Duo approval afterward ({#1} and also requires SMARTCARD to be set to #1).

  • UAC_PROTECTMODE - 0 to respect existing Duo authentication control around logon, 1 to Disable Duo at logon and only prompt during User Elevation, or 2 to enforce Duo at logon and User Elevation.

  • UAC_OFFLINE - 0 to disable Offline Access for User Elevation, or 1 to enable Offline Access for User Elevation.

  • UAC_OFFLINE_ENROLL - 0 to prevent Offline Enrollment during User Elevation, or 1 to Enable Offline Enrollment during User Elevation.

Additional Options:

  • PROXYHOST - the hostname or IP address of an upstream HTTP proxy server for Duo communications (PROXYPORT must be set).

  • PROXYPORT - The port for HTTP proxy communications (PROXYHOST must be set).

  • ENABLEOFFLINE - #1 to enable offline access (subject to the configuration in the Admin Panel), or #0 to completely disable offline access on the target system .

  • USERNAMEFORMAT - The username format sent to Duo. One of: #0 for sAMAccountName (narroway), #1 for the NTLM domain and username (ACME\narroway), or #2 for the userPrincipalName ([[email protected]](mailto:[email protected])).

  • LOGFILE_MAXCOUNT - Number of rotated log files to be maintained.

  • LOGFILE_MAXSIZEMB - Size of rotated log file to be maintained in megabytes (MB).

These parameters can be passed to the installer with the use of -params.

For example :

choco install duo-win-login -dv -s . -params '"/IKEY:DIXXXXXXXXXXXXXXXXXXXX /SKEY:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx /HOST:api-xxxxxxxx.duosecurity.com"'


tools\chocolateyInstall.ps1
$ErrorActionPreference = 'Stop'

# Package Parameters, fail on required items.
$pp = Get-PackageParameters
if (!$pp['IKEY']) { $pp['IKEY'] = '' }
if (!$pp['SKEY']) { $pp['SKEY'] = '' }
if (!$pp['HOST']) { $pp['HOST'] = '' }
if (!$pp['FAILOPEN']) { $pp['FAILOPEN'] = '#1' }
if (!$pp['AUTOPUSH']) { $pp['AUTOPUSH'] = '#1' }
if (!$pp['RDPONLY']) { $pp['RDPONLY'] = '#0' }

if (!$pp['SMARTCARD']) { $pp['SMARTCARD'] = '#0' }
if (!$pp['WRAPSMARTCARD']) { $pp['WRAPSMARTCARD'] = '#1' }

if (!$pp['UAC_PROTECTMODE']) { $pp['UAC_PROTECTMODE'] = '#0' }
if (!$pp['UAC_OFFLINE']) { $pp['UAC_OFFLINE'] = '#1' }
if (!$pp['UAC_OFFLINE_ENROLL']) { $pp['UAC_OFFLINE_ENROLL'] = '#1' }

# Open silentArgs and set required items.
$silentArgs = "/S /V`" /qn IKEY=`"$($pp['IKEY'])`" SKEY=`"$($pp['SKEY'])`" HOST=`"$($pp['HOST'])`" FAILOPEN=`"$($pp['FAILOPEN'])`" AUTOPUSH=`"$($pp['AUTOPUSH'])`" RDPONLY=`"$($pp['RDPONLY'])`" SMARTCARD=`"$($pp['SMARTCARD'])`" UAC_PROTECTMODE=`"$($pp['UAC_PROTECTMODE'])`""

# Add optional parameters if set.
if ($pp['SMARTCARD'] -eq '#1') { $silentArgs += " WRAPSMARTCARD=`"$($pp['WRAPSMARTCARD'])`"" }
if ($pp['UAC_PROTECTMODE'] -eq '#1' -Or $pp['UAC_PROTECTMODE'] -eq '#2') { $silentArgs += " UAC_OFFLINE=`"$($pp['UAC_OFFLINE'])`" UAC_OFFLINE_ENROLL=`"$($pp['UAC_OFFLINE_ENROLL'])`"" }

# Set parameters if not null.
if ($null -ne $pp['PROXYHOST'] -And $null -ne $pp['PROXYPORT']) { $silentArgs += " PROXYHOST=`"$($pp['PROXYHOST'])`" PROXYPORT=`"$($pp['PROXYPORT'])`"" }
if ($null -ne $pp['ENABLEOFFLINE']) { $silentArgs += " ENABLEOFFLINE=`"$($pp['ENABLEOFFLINE'])`"" }
if ($null -ne $pp['USERNAMEFORMAT']) { $silentArgs += " USERNAMEFORMAT=`"$($pp['USERNAMEFORMAT'])`"" }
if ($null -ne $pp['LOGFILE_MAXCOUNT']) { $silentArgs += " LOGFILE_MAXCOUNT=`"$($pp['LOGFILE_MAXCOUNT'])`"" }
if ($null -ne $pp['LOGFILE_MAXSIZEMB']) { $silentArgs += " LOGFILE_MAXSIZEMB=`"$($pp['LOGFILE_MAXSIZEMB'])`"" }

# Close silent Args
$silentArgs += '"'

$packageArgs = @{
  packageName    = 'duo-win-login'
  fileType       = 'exe'
  softwareName   = 'Duo'

  checksum       = '5f5549d93893625c7935c6307793a8d183bb71dff68886f6634160f047e0217d'
  checksumType   = 'sha256'
  url            = 'https://dl.duosecurity.com/duo-win-login-4.1.1.exe'

  silentArgs     = $silentArgs
  validExitCodes = @(0)
}

Install-ChocolateyPackage @packageArgs
tools\chocolateyUninstall.ps1
$ErrorActionPreference = 'Stop';

$packageArgs = @{
  packageName   = $env:ChocolateyPackageName
  softwareName  = 'Duo Authentication for Windows Logon*'
  fileType      = 'MSI'
  silentArgs    = "/qn /norestart"
  validExitCodes= @(0, 3010, 1605, 1614, 1641)
}

$uninstalled = $false
[array]$key = Get-UninstallRegistryKey -SoftwareName $packageArgs['softwareName']

if ($key.Count -eq 1) {
  $key | % { 
    $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 "$packageName 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 | % {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

Discussion for the Duo Windows Logon Package

Ground Rules:

  • This discussion is only about Duo Windows Logon and the Duo Windows Logon 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 Duo Windows Logon, 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