Posting short GnuPG clear signed messages on social media sites
Stefan Claas
stefan.claas at posteo.de
Fri Aug 4 14:46:19 CEST 2017
Hi all,
i don't know how many of you folks use social media sites like Twitter
and Facebook etc. and wondered what's a way to post a GnuPG clear
signed message on those sites, due to line width limits or characters
per message limits.
Well, i thought about that to and i like to share an idea with you.
I found out that with short GnuPG clear signed messages a good way
to do that is to encode the message in the popular QR-Code format.
For this task i used the package "qrencode" which is available as
Linux package and can also be compiled under OS X, for example.
https://fukuchi.org/works/qrencode/
So, simply prepare your short GnuPG message and then do a:
$ qrencode -o message.png < message.txt.asc, to obtain a
.png image, ready to be posted on social media sites.
To decode such an image in Terminal simply do a:
(please note: the images when downloaded are then in .jpeg format)
http://zbar.sourceforge.net/download.html
$ zbarimg image.jpg > output.txt && sed "s/QR-Code:-/-/g" output.txt |
gpg --verify
If you know a better and shorter way to decode, please let me/us know.
Hope you find this little tip useful and i hope it may spread the usage
of GnuPG! :-)
Regards
Stefan
--
https://www.behance.net/futagoza
https://keybase.io/stefan_claas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 506 bytes
Desc: Digitale Signatur von OpenPGP
URL: </pipermail/attachments/20170804/c3539bc4/attachment-0001.sig>
More information about the Gnupg-users
mailing list