Downloads:

14,787

Downloads of v 0.11.1-beta:

91

Last Update:

02 Oct 2019

Package Maintainer(s):

Software Author(s):

  • David Lechner

Tags:

keepass plugin ssh authentication admin

KeePass Plugin KeeAgent

This is a prerelease version of KeePass Plugin KeeAgent.

0.11.1-beta | Updated: 02 Oct 2019

Downloads:

14,787

Downloads of v 0.11.1-beta:

91

Maintainer(s):

Software Author(s):

  • David Lechner

KeePass Plugin KeeAgent 0.11.1-beta

This is a prerelease version of KeePass Plugin KeeAgent.

All Checks are Passing

2 Passing Test


Validation Testing Passed


Verification Testing Passed

Details

To install KeePass Plugin KeeAgent, run the following command from the command line or from PowerShell:

>

To upgrade KeePass Plugin KeeAgent, run the following command from the command line or from PowerShell:

>

To uninstall KeePass Plugin KeeAgent, run the following command from the command line or from PowerShell:

>

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

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

  • 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://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. Enter your internal repository url

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

4. Choose your deployment method:


choco upgrade keepass-plugin-keeagent -y --source="'STEP 3 URL'" [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 keepass-plugin-keeagent -y --source="'STEP 3 URL'" 
$exitCode = $LASTEXITCODE

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

Exit $exitCode

- name: Ensure keepass-plugin-keeagent installed
  win_chocolatey:
    name: keepass-plugin-keeagent
    state: present
    version: 0.11.1-beta
    source: STEP 3 URL

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

Coming early 2020! Central Managment Reporting available now! More information...


chocolatey_package 'keepass-plugin-keeagent' do
  action    :install
  version  '0.11.1-beta'
  source   'STEP 3 URL'
end

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


Chocolatey::Ensure-Package
(
    Name: keepass-plugin-keeagent,
    Version: 0.11.1-beta,
    Source: STEP 3 URL
);

Requires Otter Chocolatey Extension. See docs at https://inedo.com/den/otter/chocolatey.


cChocoPackageInstaller keepass-plugin-keeagent
{
   Name     = 'keepass-plugin-keeagent'
   Ensure   = 'Present'
   Version  = '0.11.1-beta'
   Source   = 'STEP 3 URL'
}

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


package { 'keepass-plugin-keeagent':
  provider => 'chocolatey',
  ensure   => '0.11.1-beta',
  source   => 'STEP 3 URL',
}

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


salt '*' chocolatey.install keepass-plugin-keeagent version="0.11.1-beta" source="STEP 3 URL"

See docs at https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.chocolatey.html.

5. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

This package was approved as a trusted package on 02 Oct 2019.

Description

KeeAgent is a plugin for KeePass 2.x. It allows other programs to access SSH keys stored in your KeePass database for authentication. It can either act as a stand-alone agent or it can interface with an external agent.

  • Store your SSH private keys in your KeePass 2.x database and use KeePass as your SSH agent (replaces Pageant on Windows).
  • Keys can be configured to automatically load when a KeePass database is opened and unload when the database is closed/locked.
  • Cross-platform: work on Windows/Linux/Mac.
  • Supports both PuTTY and OpenSSH private key formats, (new in Beta v0.7.0, includes the “new” OpenSSH key format introduced in OpenSSH 6.5).
  • Supports SSH1 and SSH2 keys.
  • SSH2 key formats include RSA, DSA and ECDSA (new in Beta v0.7.0, includes Ed25519 support).
  • Works with both PuTTY (and PuTTY compatible programs) and Cygwin/Msys on Windows.
  • Works with native SSH agent on Linux/Mac.

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\.skipAutoUninstaller
 
tools\chocolateyInstall.ps1
$ErrorActionPreference = 'Stop'

$packageArgs = @{
    packageName   = $env:ChocolateyPackageName
    url           = 'https://lechnology.com/wp-content/uploads/2019/09/KeeAgent_v0.11.1.zip'
    checksum      = '7DEE6F93B6B28B2715D2AE335064E57AD6F1153DF71DCC56ED602C08565D0B82'
    checksumType  = 'SHA256'
}

$packageSearch = 'KeePass Password Safe*'
$installPath = ''

Write-Verbose "Searching for Keepass install location."
if ([array]$key = Get-UninstallRegistryKey -SoftwareName $packageSearch) {
    $installPath = $key.InstallLocation
}

if ([string]::IsNullOrEmpty($installPath)) {
    Write-Verbose "Searching '$env:ChocolateyBinRoot' for portable install..."
    $portPath = Join-Path -Path $env:ChocolateyBinRoot -ChildPath "keepass"
    $installPath = Get-ChildItem -Directory "$portPath*" -ErrorAction SilentlyContinue
}

if ([string]::IsNullOrEmpty($installPath)) {
    Write-Verbose "Searching '$env:Path' for unregistered install..."
    $installFullName = Get-Command -Name keepass -ErrorAction SilentlyContinue
    if ($installFullName) {
        $installPath = Split-Path $installFullName.Path -Parent
    }
}

if ([string]::IsNullOrEmpty($installPath)) {
    throw "$($packageSearch) not found."
}
else {
    Write-Verbose "Found Keepass install location at '$installPath'."
}

# See https://github.com/pauby/ChocoPackages/issues/15
$oldPlugin = Join-Path -Path $installPath -ChildPath 'Plugins\keepass-plugin-keeagent.plgx'
if (Test-Path -Path $oldPlugin) {
    try {
        Remove-Item -Path $oldPlugin -Force
        Write-Host "Old version of this plugin, with incorrect name, was deleted at '$oldPlugin'."
    }
    catch {
        Write-Warning "Old versions of this package, with incorrect name was found at '$oldPlugin'. However we were unable to delete it. Please do this manually or you risk Keepass not working correctly!"
    }
}

$packageArgs.unzipLocation = Join-Path -Path $installPath -ChildPath 'Plugins'
Install-ChocolateyZipPackage @packageArgs

if (Get-Process -Name 'KeePass' -ErrorAction SilentlyContinue) {
    Write-Warning "Keepass is currently running. '$($packageArgs.packageName)' will be available at next restart."
}
else {
    Write-Host "'$($packageArgs.packageName)' will be loaded the next time KeePass is started."
}
tools\chocolateyUninstall.ps1
$ErrorActionPreference = 'Stop'

$packageArgs = @{
    packageName = $env:ChocolateyPackageName
    zipFileName = "KeeAgent_v$($env:ChocolateyPackageVersion).zip"
}

Uninstall-ChocolateyZipPackage @packageArgs

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.

Version Downloads Last Updated Status
KeePass Plugin KeeAgent 0.11.1-beta 91 Wednesday, October 2, 2019 Approved
KeePass Plugin KeeAgent 0.10.1 759 Saturday, July 14, 2018 Approved
KeePass Plugin KeeAgent 0.8.1 2711 Friday, July 29, 2016 Approved
KeePass Plugin KeeAgent 0.8.0 205 Friday, July 29, 2016 Approved
KeePass Plugin KeeAgent 0.7.1.20151011-beta 248 Sunday, October 11, 2015 Exempted
KeePass Plugin KeeAgent 0.7.1.20150710-beta 462 Friday, July 10, 2015 Exempted
KeePass Plugin KeeAgent 0.7.1-beta 326 Thursday, July 2, 2015 Exempted
KeePass Plugin KeeAgent 0.6.3 491 Sunday, July 19, 2015 Approved

Discussion for the KeePass Plugin KeeAgent Package

Ground Rules:

  • This discussion is only about KeePass Plugin KeeAgent and the KeePass Plugin KeeAgent 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 KeePass Plugin KeeAgent, 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