i want to encrypt a sting with a public PGP key from my database. till now i search trough a lot of libsa and apps and such but i simply dont find a good working way here. I dont need any Key management and to be honest, it would be wonderful not to use any external binary here. I only need the encrypt function to wrap the string as a PGP encrypted message.
does anybody have a lightwight idea here?
This one seems to be a solution: https://github.com/singpolyma/OpenPGP-Python
but its quite old.
thanks and kind regards