Comments (18)
I take it that you are running the most recent version of KeeAgent (0.1.4) and KeePass (2.19).
The PpkFileException means that either the ppk file is corrupt or that the passphrase is incorrect.
from keeagent.
Yes, I used 0.1.4 and 2.19.
The PPKFile is not corrupt as it works with paegant, also the passphrase is ok.
Using the same in Keepass 1.x with the old 1.x Plugin works....
from keeagent.
Hmm... Is this a ssh1 key perhaps? I may not have time for a week or so, but I have been meaning to make a more useful error message for this. Also, if you can create another key with the same problem and send it to me, that would help very much.
from keeagent.
No, the Key ist ssh2.
This is a new generated Kex with passphrase "xxxx". Is produces the same error. I use other .NET Programs, which work perfect, so I don't think that my .NET doesn't work.
PuTTY-User-Key-File-2: ssh-rsa
Encryption: aes256-cbc
Comment: rsa-key-20120608
Public-Lines: 4
AAAAB3NzaC1yc2EAAAABJQAAAIBcTIb0PsqadpivWbokvd0ayp5ZPd9Gr1tIGtp9
Rhd4DsC412aMgXW7A7SJjEIeDPt0yowpFY0NnaHV8lDmGNH0KdTakNy7Ix8TxF3Q
hqdz3BYeTNvH3u1+yqX7kxE3ChZMfmYsvipTP5oHPteCm+Zi/yGl08cFSKC4qcCq
p0Uh/w==
Private-Lines: 8
tab01pRpQ2p44KILo+HyHtMT/MSzNIyqb19cF2mHVZ2qR39r/T5pemjpRDlrpUUC
2G0ujM7+l6VbZ6z0b8l8BJBJPBGxtnOrGD6jnwu1wvv6OqlwquuvhEIK6srpB/Vy
eiAmAcmq+0C9Nudk43fAT2nyIdm/GDeAuSmmGrcDr+QqpFRhazI2l5qpuGDtp4GM
lOFfBTYxiUhmew73snQUMde0K3LhBRefIjgBco+rtE8tc3J5y5JqwH8fW7cWDrdv
m0zIU20k5fjyrOspfkMGb220StRZ6Lp8RPalRYM0WS6S1Z1dboexR01k8nfKRx5R
wVo2FgU6sg+N3WoHFTGZ5ubinGjLTunfwXmNJAuvicLN5NaTgEgEe4rrA6zfEhe2
0paGcHtW4MeRQyF0aFncq4IDv9rTlg6cdaahRDoZED/I6kJAUcb4KVkiq2dW7ICb
9l3ZhAoJRLD5jwPq6sdFJQ==
Private-MAC: 30fe262d5338d54aff405188c2ee5d444dba46de
from keeagent.
Thanks for the key. Unfortunately, it works just fine for me. If you use the same key without a passphrase, does it still give you an error?
PuTTY-User-Key-File-2: ssh-rsa
Encryption: none
Comment: rsa-key-20120608
Public-Lines: 4
AAAAB3NzaC1yc2EAAAABJQAAAIBcTIb0PsqadpivWbokvd0ayp5ZPd9Gr1tIGtp9
Rhd4DsC412aMgXW7A7SJjEIeDPt0yowpFY0NnaHV8lDmGNH0KdTakNy7Ix8TxF3Q
hqdz3BYeTNvH3u1+yqX7kxE3ChZMfmYsvipTP5oHPteCm+Zi/yGl08cFSKC4qcCq
p0Uh/w==
Private-Lines: 8
AAAAgEhXqAuLKSz1K5BbFVsRWkVuYG91rwAM5q4i4pmJ9rgLkCIsSXULhcnuJbfq
eQLL566Q6mVj6xiCd+zghJirq3k7A9TbV/y/EcBTP7iX7WQAgIi+wlyX4d1Nz58o
w0NdSLxjj6TCLu6EY6wK+q43QO33LfO/9o0twvsevPGQWPBlAAAAQQCyRABPR4ch
kjTSBFah6x5ZtTPmvHdAuI03S9qNohDNbDyseidlO9u6ovZkrnMenUARQmnX8JUb
K45XzDkNyKdbAAAAQQCEi/bRdGRLkLSZymI9YVGBvOx7kURpqtc4500g3/OZgjnx
ytII543TOhrdzr50lTEcb6Pjm99dAM9xW6dUE9UtAAAAQQCD2khJfh4dYw25p7BL
e0FpWz9dgZfLCc79ikGz+m9z8pLN6lMuWXJHechcmpSFeJwXayvMrXQ/1tIlRadf
eifd
Private-MAC: d295905aa46748c39cadbe1144d20fee252a7c58
from keeagent.
Hello,
It was my fault, I had an old version in the paper-bin of my keepass, sorry!
But, It still doesn't work here.
My last Logs when connecting with putty are those lines attached.
When I load the same key in paegant,
it continuous with the line "trying Pageant key #0". This line is missing when trying with the plugin.
Do you have any ideas here?
2012-06-11 14:56:47 ssh-rsa 2048 #####################################
2012-06-11 14:56:47 Initialised AES-256 SDCTR client->server encryption
2012-06-11 14:56:47 Initialised HMAC-SHA1 client->server MAC algorithm
2012-06-11 14:56:47 Initialised AES-256 SDCTR server->client encryption
2012-06-11 14:56:47 Initialised HMAC-SHA1 server->client MAC algorithm
2012-06-11 14:56:47 Pageant is running. Requesting keys.
-------------------end-------------------------------
from keeagent.
If Pageant or another instance of KeePass was running when KeePass was started, the plugin will be disabled.
from keeagent.
No, Paegant wasn't started! When KeepPass is started and I start Pageant, Pageant tells me that it is already running, so the Plugin seems to be started.
I assume the error between the communication of Putty and KeePass, but i disabled all Firewalls.
Do you have any idea, what I could test next?
from keeagent.
It sounds like Putty is not finding a key that matches the authorized keys on the server. Does the fingerprint for the same key match in both Pageant and KeePass?
from keeagent.
Please try out the latest development snapshot (v0.1.4.1) at https://github.com/dlech/KeeAgent/downloads
Let me know if it works for you.
from keeagent.
github tells me: "file not found"
can i download it elsewhere?
from keeagent.
Sorry about that. I've been having trouble with github doing that with downloads. I have re-uploaded it - and tested to make sure you can download this time, so please try again.
from keeagent.
Thanks a lot, anyway!
Unfortunately, there is no change! Can I switch on any Logging to find out more?
from keeagent.
There is not any logging, but I have uploaded a new file (v0.1.4.2) to https://github.com/dlech/KeeAgent/downloads that should give a more descriptive error message.
I am starting to think that this might have to do with character encoding in the passphrase maybe?
from keeagent.
Where should I see a errormessage? KeePass doesn't tell my anything, Putty still stops at "Pageant is running. Requesting keys." followed by asking me for a password.
I just tried on a fresh installation of KeePas 1.x with PuttyAgent-v2.1. There it works.
Then i thought: Maybe my Putty is too old. I updated putty and: -> 0.62 it works where 0.60 doesn't seem to work.
Sorry for all this work and thank you for the support! I really like the plugin!
from keeagent.
I was afraid that you gave up. This is a tricky problem. Thank you for your patients and for sticking with it.
OK, I thought you might still be getting an error message. I think I understand now that the error message was only for the entry that was in the recycle bin. Just to be sure, when you select Tools>KeeAgent>Show Putty Keys, are all keys shown? Do you get an error message?
I have added some logging to the plugin. In order for the logging to work, you have to run KeePass from the command line with the --debug
option. The log is saved by default to your My Documents folder. Again, you can download from https://github.com/dlech/KeeAgent/downloads (v0.1.5.1)
Post the log here when you have run it. Also, I would like to confirm that KeeAgent is giving the proper fingerprint for you key file. Should be 12:51:ef:a1:da:71:fc:6a:47:4a:73:ac:78:a4:a9:6f
if you are still using the same test key that you posted above.
from keeagent.
Thanks for your patient and sorry for not beeing clear enough.
Yes
- the errormessage is gone after deleting the recycle bin. <-- Works!
- Tools>KeeAgent>Show Putty Keys shows all Keys! <-- Works!
- connecting with putty: works now, as I upgraded to putty 0.62. <- Works!
So all problems are solved now and i think there was no error in the plugin.
The only error was that I (and maybe you?!?) did not know that the older puttyversion does not work.
Did putty change the protocol between 0.60 and 0.62? Is it possible for you to show an erroemessage like:
"You try to connect with n outdated puttyversion. Please upgrade"?
Should I close this issue, or can u? I don't know if commenting is possible on an closed issue.
Thanks a lot!!
from keeagent.
I am very glad that this is working for you now! I will put a note on my website that it requires PuTTY v0.61 or higher. I checked out the change log on PuTTY and it looks like they did make some change between 0.60 and 0.61.
And just so you know, you can still comment on closed issues.
from keeagent.
Related Issues (20)
- What is the alternative to "Save attachment to temporary file when key is loaded" HOT 3
- Can't use KeeAgent with Tabby SSH Client HOT 5
- WinCrypt not working anymore as pageant HOT 4
- Getting stuck after "sign_and_send_pubkey" HOT 16
- Support for EdDSA Ed448 (448 bits) HOT 2
- [Windows] Private Key file as a Temporary file is accessible by every user by default HOT 3
- [Feature request] Conditional loading of SSH keys HOT 4
- Progress bar while opening database steals focus and lowers usability
- Key usage confirmation window: more details on requested key file HOT 1
- KeeAgent issue after upgrading KeePass to 2.54/2.55 HOT 2
- Minor docs correction is needed in the Installation description HOT 1
- Since upgrading to 0.13.6 the agent seems to intermittently stop functioning. HOT 1
- [req] Key generator
- Putty / Pageant vulnerability - NIST P521 private keys are exposed by biased signature generation HOT 2
- error 404 when trying to download 0.13.7 release HOT 1
- Upgrading KeeAgent from v0.13.6 to v0.13.7 breaks KeePass on Linux/FreeBSD/Haiku/ReactOS with Mono 6.8.0.105+dfsg-3.4 HOT 3
- 1.13.7 crashes (on Linux) HOT 1
- KeeAgent v0.13.7 is "incompatible" with my KeePass (v2.56) on Windows 11 HOT 1
- Installation docs need a correction HOT 1
- Windows (10) build in version of OpenSSH is newer
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from keeagent.