shubhamdipt / passbolt-python-api

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

Take into account fingerprints with spaces in them as they are in the Passbolt instance #20

Closed CTM1 closed 1 year ago

CTM1 commented 1 year ago

When downloading a key pair from a Passbolt instance, the Fingerprint field contains spaces between every 2 bytes.

If an user places this fingerprint in his fingerprint file instead of the one obtained from gpg --list-keys, it will cause a "Key not found" error when searching for key fingerprints with GPG, even if it's been imported.

This MR simply removes the spaces from the key in the file.