/stackstorm-gpg

Pack for working with GPG.

Primary LanguagePython

GPG Integration Pack

Pack which allows integration with GnuPG.

Requirements

For this pack to work you need to have access to a compatible version of the GnuGP executable.

Configuration

Copy the example configuration in gpg.yaml.example to /opt/stackstorm/configs/gpg.yaml and edit as required.

Configuration options:

  • gpgbinary - Optional path to the gpg binary to use.
  • gpghome - Optional path to gpg keyring home. If not provided, ~/.gnupg is used as a default.
  • debug - True to enable debug mode.

You can also use dynamic values from the datastore. See the docs for more info.

Note : When modifying the configuration in /opt/stackstorm/configs/ please remember to tell StackStorm to load these new values by running st2ctl reload --register-configs

Actions

  • list_keys - List all the keys in the keyring.
  • import_keys - Import ASCII formatted keys from the provided file.
  • encrypt_file - Encrypt a file using asymmetric encryption for the provided recipient. Note: Public part of the recipient keys for which you are encrypting the file for need to already be available in the gpg keyring.
  • decrypt_file - Action which decrypts asymetrically encrypted file. Note: The private part of the key which was used to encrypt the file must already be available in the gpg keyring.