Skip to the content.

GPG Test

We can check whether or not GPG is working correctly by running -

$ echo "Test" | gpg --clearsign

If this doesn’t throw any error(s), it means GPG is working correctly.

Source: StackOverFlow