This should be:

```python
str(gpg.encrypt(
                json.dumps(data),
                openpgp_key.fingerprint,
                symmetric=False))
```