shubhamdipt / passbolt-python-api

An Api for passbolt in python
MIT License
12 stars 15 forks source link

gpg-agent support? #12

Open ekollof opened 2 years ago

ekollof commented 2 years ago

Hi,

Your configuration seems to require passphrases in the config file. If you want to use this on a remote machine, it's bad practice to have secrets in the configuration. The python gnupg (which your module uses) supports gpg-agent and ssh can forward the socket, so maybe make the passphrase optional?

(See https://wiki.gnupg.org/AgentForwarding how that's done)

wibru commented 1 year ago

I use gpg-agent with PASSPHRASE = ""

ekollof commented 1 year ago

It's better to not have the variable defined at all, which my merge request takes care of.