www.libssh2.org | Daily snapshots | Mailing list archive | Docs | Examples | github

Archive Index This month's Index

Subject: Re: Question: using ssh-agent as "protected memory" storage.

Re: Question: using ssh-agent as "protected memory" storage.

From: Peter Stuge <peter_at_stuge.se>
Date: Tue, 3 Jul 2012 21:12:01 +0200

Hi,

Fellow Traveler wrote:
> **** All I want, is to be able to store a small piece of data in
> "protected memory", and then retrieve it again later. ****

The SSH agent is a bad fit.

> is it possible to use ssh-agent for encrypting/decrypting data
> using a key stored inside ssh-agent?

No, the agent protocol (which I guess you didn't look at yet) does
not contain encrypt/decrypt operations.

> I'm not trying to do anything on a remote machine, either.

Which should tell you right away that SSH does not really fit.

> Thoughts?

gpgme and look at what the guy did who implemented protected storage
in a Linux kernel by using system management mode.

//Peter
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2012-07-03

the libssh2 team