openpgp2spki command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
openpgp2spki: command not found
or when using sudo you get the following error message
sudo: openpgp2spki: command not found
Solutions to openpgp2spki: command not found
How To Fix openpgp2spki: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu openpgp2spki is provided by monkeysphere package.
monkeysphere is:
SSH key-based authentication is tried-and-true, but it lacks a true Public Key Infrastructure for key certification, revocation and expiration. Monkeysphere is a framework that uses the OpenPGP web of trust for these PKI functions. It can be used in both directions: for users to get validated host keys, and for hosts to authenticate users. Current monkeysphere SSH tools are designed to integrate with the OpenSSH implementation of the Secure Shell protocol.
Monkeysphere can also be used by a validation agent to validate TLS connections (e.g. https).
To fix this problem, we can install more using the command below.
sudo apt-get -y install monkeysphere
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install monkeysphere.
sudo apt -y install monkeysphere
Or if you have aptitude installed you can use the following command.
sudo aptitude install monkeysphere
Summary
In this tutorial we learn how to fix openpgp2spki command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.