diff --git a/ee/maintained-apps/inputs/winget/yubico-authenticator.json b/ee/maintained-apps/inputs/winget/yubico-authenticator.json new file mode 100644 index 0000000000..7a4ab1f6fe --- /dev/null +++ b/ee/maintained-apps/inputs/winget/yubico-authenticator.json @@ -0,0 +1,10 @@ +{ + "name": "Yubico Authenticator", + "slug": "yubico-authenticator/windows", + "package_identifier": "Yubico.Authenticator", + "unique_identifier": "Yubico Authenticator", + "installer_arch": "x64", + "installer_type": "msi", + "installer_scope": "machine", + "default_categories": ["Productivity"] +} diff --git a/ee/maintained-apps/outputs/apps.json b/ee/maintained-apps/outputs/apps.json index 35a61df28b..9e743cf9d8 100644 --- a/ee/maintained-apps/outputs/apps.json +++ b/ee/maintained-apps/outputs/apps.json @@ -1730,6 +1730,13 @@ "unique_identifier": "com.yubico.yubioath", "description": "Yubico Authenticator is an application for generating TOTP and HOTP codes." }, + { + "name": "Yubico Authenticator", + "slug": "yubico-authenticator/windows", + "platform": "windows", + "unique_identifier": "Yubico Authenticator", + "description": "Yubico Authenticator is an application for generating TOTP and HOTP codes." + }, { "name": "Yubikey Manager", "slug": "yubico-yubikey-manager/darwin", diff --git a/ee/maintained-apps/outputs/yubico-authenticator/windows.json b/ee/maintained-apps/outputs/yubico-authenticator/windows.json new file mode 100644 index 0000000000..cf476d89a1 --- /dev/null +++ b/ee/maintained-apps/outputs/yubico-authenticator/windows.json @@ -0,0 +1,22 @@ +{ + "versions": [ + { + "version": "7.3.1", + "queries": { + "exists": "SELECT 1 FROM programs WHERE name = 'Yubico Authenticator' AND publisher = 'Yubico AB';" + }, + "installer_url": "https://github.com/Yubico/yubioath-flutter/releases/download/7.3.1/yubico-authenticator-7.3.1-win64.msi", + "install_script_ref": "8959087b", + "uninstall_script_ref": "df5aa7e3", + "sha256": "a278b9b558315f6eee4798034defe3716dd759ea36c1b0d076fbb386357a61e3", + "default_categories": [ + "Productivity" + ], + "upgrade_code": "{FCBAFC57-AAAA-47B8-B861-20BDA48CD4F6}" + } + ], + "refs": { + "8959087b": "$logFile = \"${env:TEMP}/fleet-install-software.log\"\n\ntry {\n\n$installProcess = Start-Process msiexec.exe `\n -ArgumentList \"/quiet /norestart /lv ${logFile} /i `\"${env:INSTALLER_PATH}`\"\" `\n -PassThru -Verb RunAs -Wait\n\nGet-Content $logFile -Tail 500\n\nExit $installProcess.ExitCode\n\n} catch {\n Write-Host \"Error: $_\"\n Exit 1\n}\n", + "df5aa7e3": "# Fleet uninstalls app by finding all related product codes for the specified upgrade code\n$inst = New-Object -ComObject \"WindowsInstaller.Installer\"\n$timeoutSeconds = 300 # 5 minute timeout per product\n\nforeach ($product_code in $inst.RelatedProducts(\"{FCBAFC57-AAAA-47B8-B861-20BDA48CD4F6}\")) {\n $process = Start-Process msiexec -ArgumentList @(\"/quiet\", \"/x\", $product_code, \"/norestart\") -PassThru\n \n # Wait for process with timeout\n $completed = $process.WaitForExit($timeoutSeconds * 1000)\n \n if (-not $completed) {\n Stop-Process -Id $process.Id -Force -ErrorAction SilentlyContinue\n Exit 1603 # ERROR_UNINSTALL_FAILURE\n }\n \n # If the uninstall failed, bail\n if ($process.ExitCode -ne 0) {\n Write-Output \"Uninstall for $($product_code) exited $($process.ExitCode)\"\n Exit $process.ExitCode\n }\n}\n\n# All uninstalls succeeded; exit success\nExit 0\n" + } +} diff --git a/frontend/pages/SoftwarePage/components/icons/YubicoAuthenticator.tsx b/frontend/pages/SoftwarePage/components/icons/YubicoAuthenticator.tsx index 0a95ebfed4..7b8764859a 100644 --- a/frontend/pages/SoftwarePage/components/icons/YubicoAuthenticator.tsx +++ b/frontend/pages/SoftwarePage/components/icons/YubicoAuthenticator.tsx @@ -7,7 +7,7 @@ const YubicoAuthenticator = (props: SVGProps) => ( ); diff --git a/website/assets/images/app-icon-yubico-authenticator-60x60@2x.png b/website/assets/images/app-icon-yubico-authenticator-60x60@2x.png index 869a2c837e..ec04b38d67 100644 Binary files a/website/assets/images/app-icon-yubico-authenticator-60x60@2x.png and b/website/assets/images/app-icon-yubico-authenticator-60x60@2x.png differ