Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KeeAgent should Accept Keys to be added via ssh/pageant #10

Closed
stephan48 opened this issue Jul 6, 2012 · 14 comments
Closed

KeeAgent should Accept Keys to be added via ssh/pageant #10

stephan48 opened this issue Jul 6, 2012 · 14 comments
Milestone

Comments

@stephan48
Copy link

Hi,

I already find the Plugin usefull but i would like to be able to add keys via ssh-add(agent forwarding) and Pageant(adding keys to the running KeeAgent(f.e. when you want to load an key you not want to store in the DB), also this could be usefull so you can open Multiple KeePass Databases and keys from the subsequent DataBases are added to the First Instance.

Regards,
Stephan

@dlech
Copy link
Owner

dlech commented Jul 6, 2012

This is on my TODO list. Sorry, no ETA.

@stephan48
Copy link
Author

Any Progress here?

@dlech
Copy link
Owner

dlech commented Oct 17, 2012

I actually started working in this area a little bit this weekend, so hopefully something soon.

@dlech
Copy link
Owner

dlech commented Oct 30, 2012

Hi, Stephan and anyone else following this.

I have a test version (2.5.0.1) for you to try out on the downloads page: https://github.com/dlech/KeeAgent/downloads

Ssh agent forwarding should work. It responds to most options from the ssh-add command.

I plan on adding options to enable/disable in-memory keys and database keys separately I will also add a button so that you can load additional keys from files to the in-memory keys.

Multiple databases are already supported. Multiple instances of KeePass are not and cannot be supported because of the way Pageant works.

Let me know what you think and if you have any suggestions to make it better.

@stephan48
Copy link
Author

I tested it a bit and it worked nicely! Is there maybe also a way to delete keys from in memory storage?
Also could you maybe include a way to define a Auto Load List/Quick Load list?

This would be a List of Keys which could be defined somewhere to be shown in the KeeAgent Menu/KeePass Tray for fast loading, maybe with a option to Auto Load them on KeePass Start and then you are asked for a pw.

F.e. i got a key which i want to manage Indepently(have it load but not in a KP DB) but loaded automatically.

@dlech
Copy link
Owner

dlech commented Oct 30, 2012

For now, you can use ssh-add -d or ssh-add -D to delete keys.

@maxlaverse
Copy link

Hi,

Any updates on the ssh1 key support ? Btw, the v0.2.0.1 works fine with ssh2 keys :)
Also I tried to compile KeeAgent but I had trouble finding PageantCsharp ...

Regards
Max

@dlech
Copy link
Owner

dlech commented Dec 14, 2012

Any updates on the ssh1 key support ?

I have not implemented it yet because no one has asked. I figured no one used it anymore. But we can sure add it. Do you code?

Also I tried to compile KeeAgent but I had trouble finding PageantCsharp

I recently changed the name of PageantSharp to SshAgentLib. I have been working on a stand-alone agent that uses the same library and I have not back-ported it to KeeAgent yet. I am very close though - maybe in the next week or so.

@stephan48
Copy link
Author

Am 14.12.2012 23:02, schrieb dlech:

Any updates on the ssh1 key support ?

I have not implemented it yet because no one has asked. I figured no
one used it anymore. But we can sure add it. Do you code?

Also I tried to compile KeeAgent but I had trouble finding
PageantCsharp

I recently changed the name of PageantSharp to SshAgentLib
https://github.com/dlech/SshAgentLib. I have been working on a
stand-alone agent that uses the same library and I have not
back-ported it to KeeAgent yet. I am very close though - maybe in the
next week or so.


Reply to this email directly or view it on GitHub
#10 (comment).

Maybe then you could outsource the agent functionality?

f.e. keeagent just talks with that agent like with a pageant.

@dlech
Copy link
Owner

dlech commented Dec 14, 2012

Maybe then you could outsource the agent functionality?
f.e. keeagent just talks with that agent like with a pageant.

My intention is for KeeAgent to work both ways. It can act as a stand-alone agent or as a client to an external agent (Pageant or OpenSSH)

@maxlaverse
Copy link

Yes I code and I know C#.

I already opened the SshAgentLib project. I also downloaded putty's sources and looked into winpgnt.c to see how the ssh1 key management is done.

I will try to get familiar with the ssh-agent algorithms until you stabilize the agent library.

@dlech
Copy link
Owner

dlech commented Dec 15, 2012

@maxlaverse, let's move this conversation to dlech/SshAgentLib#1

@dlech
Copy link
Owner

dlech commented Jan 8, 2013

Stephan,

At long last! I have released a beta version that has most of the features you have suggested. You can get it at http://lechnology.com/KeeAgent+Beta

Let me know what you think!

@stephan48
Copy link
Author

EDIT: moved comment to Issue #26

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants