Notices: This section not yet converted to new layout. Download stats are rolling back out.

This is a prerelease version of KeePass Plugin KeeAgent.

KeePass Plugin KeeAgent

0.7.1.20150710-beta

There are no package test results for this package

This package is exempt from moderation. While it is likely safe for you, there is more risk involved.

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.

Documentation

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

C:\> choco install keepass-plugin-keeagent -version 0.7.1.20150710-beta -pre

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

C:\> choco upgrade keepass-plugin-keeagent -version 0.7.1.20150710-beta -pre

Files

Hide
  • tools\chocolateyUninstall.ps1 Show
    # powershell v2 compatibility
    $psVer = $PSVersionTable.PSVersion.Major
    if ($psver -ge 3) {
      function Get-ChildItemDir {Get-ChildItem -Directory $args}
    } else {
      function Get-ChildItemDir {Get-ChildItem $args}
    }
    $packageName = 'keepass-plugin-keeagent'
    $typName = 'KeeAgent.plgx'
    $packageSearch = 'KeePass Password Safe'
    try {
    # search registry for installed KeePass
    $regPath = Get-ItemProperty -Path @('HKLM:\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\*',
                                        'HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\*',
                                        'HKCU:\Software\Microsoft\Windows\CurrentVersion\Uninstall\*') `
                                -ErrorAction:SilentlyContinue `
               | Where-Object {$_.DisplayName -like "$packageSearch*"} `
               | ForEach-Object {$_.InstallLocation}
    $installPath = $regPath
    # search $env:ChocolateyBinRoot for portable install
    if (! $installPath) {
      Write-Host "$($packageSearch) not found in registry."
      $binRoot = Get-BinRoot
      $portPath = Join-Path $binRoot "keepass"
      $installPath = Get-ChildItemDir $portPath* -ErrorAction SilentlyContinue
    }
    if (! $installPath) {
      Write-Host "$($packageSearch) not found in $($env:ChocolateyBinRoot)"
      throw "$($packageSearch) install location could not be found."
    }
    $pluginPath = (Get-ChildItemDir $installPath\Plugin*).FullName
    if ($pluginPath.Count -eq 0) {
      throw "Plugins directory not found."
    }
    $installFile = Join-Path $pluginPath "$($packageName).plgx"
    Remove-Item -Path $installFile `
                -Force `
                -ErrorAction SilentlyContinue
    if ( Get-Process -Name "KeePass" `
                     -ErrorAction SilentlyContinue ) {
      Write-Host "$($packageSearch) is running. $($packageName) will be removed at next restart of $($packageSearch)." 
    }
    } catch {
      throw $_.Exception
    }
  • tools\chocolateyInstall.ps1 Show
    # powershell v2 compatibility
    $psVer = $PSVersionTable.PSVersion.Major
    if ($psver -ge 3) {
      function Get-ChildItemDir {Get-ChildItem -Directory $args}
    } else {
      function Get-ChildItemDir {Get-ChildItem $args}
    }
    $packageName = 'keepass-plugin-keeagent'
    $typName = 'KeeAgent.plgx'
    $packageSearch = 'KeePass Password Safe'
    $url = 'http://lechnology.com/wp-content/uploads/2015/06/KeeAgent_Beta_v0.7.1.zip'
    $checksum = '1bbc398a329a15adc32954bbed9cca12e5ff7b9d'
    $checksumType = 'sha1'
    try {
    # search registry for location of installed KeePass
    $regPath = Get-ItemProperty -Path @('HKLM:\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\*',
                                        'HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\*',
                                        'HKCU:\Software\Microsoft\Windows\CurrentVersion\Uninstall\*') `
                                -ErrorAction:SilentlyContinue `
               | Where-Object {$_.DisplayName -like "$packageSearch*" `
                               -and `
                               $_.DisplayVersion -ge 2.19 `
                               -and `
                               $_.DisplayVersion -lt 3.0 } `
               | ForEach-Object {$_.InstallLocation}
    $installPath = $regPath
    # search $env:ChocolateyBinRoot for portable install
    if (! $installPath) {
      Write-Verbose "$($packageSearch) not found installed."
      $binRoot = Get-BinRoot
      $portPath = Join-Path $binRoot "keepass"
      $installPath = Get-ChildItemDir $portPath* -ErrorAction SilentlyContinue
    }
    if (! $installPath) {
      Write-Verbose "$($packageSearch) not found in $($env:ChocolateyBinRoot)"
      throw "$($packageSearch) location could not be found."
    }
    $pluginPath = (Get-ChildItemDir $installPath\Plugin*).FullName
    if ($pluginPath.Count -eq 0) {
      $pluginPath = Join-Path $installPath "Plugins"
      [System.IO.Directory]::CreateDirectory($pluginPath)
    }
    # download and extract zip into tools dir
    $toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
    Install-ChocolateyZipPackage -PackageName "$packageName" `
                                 -Url "$url" `
                                 -UnzipLocation "$toolsDir" `
                                 -Checksum "$checksum" `
                                 -ChecksumType "$checksumType"
    # rename PLGX file so it is clear which plugins are managed via choco
    $typPlugin = Join-Path $toolsDir $typName
    $chocoPlugin = Join-Path $pluginPath "$($packageName).plgx"
    Move-Item -Path $typPlugin -Destination $chocoPlugin -Force -ErrorAction Stop
    if ( Get-Process -Name "KeePass" `
                     -ErrorAction SilentlyContinue ) {
      Write-Warning "$($packageSearch) is currently running. Plugin will be available at next restart of $($packageSearch)." 
    } else {
      Write-Host "$($packageName) will be loaded the next time KeePass is started."
      Write-Host "Please note this plugin may require additional configuration. Look for a new entry in KeePass' Menu>Tools"
    }} catch {
      throw $_.Exception
    }

Virus Scan Results

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.

Dependencies

Maintainer(s)

Software Author(s)

  • David Lechner

Copyright

© 2012 David Lechner

Tags

Release Notes

Program

Package

  • Built and uploaded by dtgm
  • Make install/uninstall scripts compatible with PowerShell v2

Version History

Version Downloads Last updated Status
KeePass Plugin KeeAgent 0.8.0 31 Friday, July 29, 2016 approved
KeePass Plugin KeeAgent 0.7.1.20151011-beta 77 Sunday, October 11, 2015 exempted
KeePass Plugin KeeAgent 0.7.1.20150710-beta 153 Friday, July 10, 2015 exempted
KeePass Plugin KeeAgent 0.7.1-beta 76 Thursday, July 2, 2015 exempted
KeePass Plugin KeeAgent 0.6.3 270 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