When comparing GPG / PGP vs KeePassX, the Slant community recommends KeePassX for most people. In the question“What are the best tools for managing secrets (tokens, keys, passwords)?” KeePassX is ranked 2nd while GPG / PGP is ranked 13th.
Ranked in these QuestionsQuestion Ranking
Pros
Pro Can share secrets among the trusted team
It's possible to encrypt with multiple public keys with very little overhead. So anybody who is in possession of one of the keys on the trusted list can decrypt the secrets.
Pro Complete control over secrets
No unencrypted data ever leaves your possession.
Pro Free and open source
Pro Multi-platform
Run on Windows, Linux, Mac OS and Android.
Cons
Con Need to understand basics of public key cryptography to set it up right
Con Have to do everything yourself
Con No nice interface and browser integration like other tools provide
Con Discontinued
KeePassX has been discontinued in 2017. KeePassXC is an open-source fork of KeepassX that is still actively developed.
Con No plugins / does not autofill login information
For example, the Keyorm plugin for the official Keepass client has the ability to open a website, and autofill username & passphrase info. This is an important and expected feature for a password manager, which is not available in KeePassX