PGP solved this issue 30 years ago. I can not believe we have this discussion in 2020
https://github.com/shabda/tweet-signer
At it's core it's just a spec, so feel free to write your own tools! Suggestions for improving the spec welcome. Please use Github issues