I'm looking for a solution to
- Generate an encrypted UNIX password for a specific target using it UUID and a public GPG key
- Retrieve a target clear password from its UUID and the private GPG key
I have performed a little schema with the two process :
There is a way to do this?
Thanks, Emeric
EDIT1: I realize that my first explanation was not really clear... To add clarification, I have a first solution to do that I want :
- generate a password for a target with a hash mechanism using the target UUID + secret key during the target setup
- permit to retrieve a target password using the secret key and the target UUID
And my question, in fact, is to know if a solution exists to realize that with an asymmetric mechanism to avoid providing the secret key to the production pole. I don't really believe it, but you never know...