3 Jul 2012 08:50
Question: using ssh-agent as "protected memory" storage.
Hello, Sorry to bother you all but I have already done a lot of research online and haven't come to a satisfactory answer. **** All I want, is to be able to store a small piece of data in "protected memory", and then retrieve it again later. **** I am already doing some pretty tricked-out stuff to store this data in my own RAM, but that's not good enough -- I'd prefer to use some sort of "standard" protected memory, versus trying to do it myself. On Windows there is a function called "VirtualProtect" which does this, and I thought perhaps ssh-agent might be able to provide the same functionality on UNIX. Is this possible? If not, what is the best way to go about doing such a thing? --- Alternately, is it possible to use ssh-agent for encrypting/decrypting data using a key stored inside ssh-agent? Because this would also solve my problem. Does libssh2 allow me to encrypt/decrypt using the identities, similar to how it allows me to authenticate using the identities? ---(Continue reading)
RSS Feed