other than not encrypting, i have no choice but to have the RSA private key on the same system as the data encrypted asymetrically. (my system has no access to remote servers, etc) so i figured using seahorse (ubuntu) or keychain access (apple) might be useful?
is it possible to access the private key stored in one of these from python?
are there other approaches to this besides not storing the private key locally?
i need a reversible crypt so hashing is not an option.
On Mac OS X, the keychain can be accessed from the shell using the security program. You can search for a specific private key using security find-identity -s <search term>, and export it to a file using security export (more information on those commands can be obtained from security -h <command>). I have not seen python bindings yet, but it should be easy to wrap the functionality you need in a subprocess.call call.
can python access an RSA private key stored locally in a keystore like seahorse / Apple Keychain