Gpg Facts

gpg.GpgKey

host.get_fact(GpgKey, src)

rns information on one or more GPG keys found in a file or URL.

ode:: python

{
“KEY-ID”: {

“length”: 4096, “uid”: “Oxygem <hello@oxygem.com>”

},

}

gpg.GpgKeys

host.get_fact(GpgKeys, keyring=None)

rns information on all public keys in a keychain.

ode:: python

{
“KEY-ID”: {

“length”: 4096, “uid”: “Oxygem <hello@oxygem.com>”

},

}

gpg.GpgSecretKeys

host.get_fact(GpgSecretKeys, keyring=None)

rns information on all secret keys in a keychain.

ode:: python

{
“KEY-ID”: {

“length”: 4096, “fingerprint”: “ABC”, “uid”: “Oxygem <hello@oxygem.com>”

},

}