当前位置: 首页 > 工具软件 > OpenPGP.js > 使用案例 >

Make PGP messages and signatures more interesting

习宸
2023-12-01

原文地址及代码下载:

https://github.com/mapmeld/profanity65#profanity65



Make PGP messages and signatures more interesting

让你的PGP加密信息和数字签名更加的有趣!



Profanity65

脏话65


任何人可以使用PGP加密,从而使他们的e-mail更加的安全。使用一对公钥和私钥,你不仅能够对一个用户加密整条信息,还可以为你的e-mail添加一个数字签名,以方便其他人确认邮件信息是你的原有内容。



不幸的是,PGP数字签名时常看起来有一点无聊:

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (Darwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJTHnwVAAoJEDWbjndSKzRJFeUH/RtAHtZsUhHpxMxvekLhCEYP
oZn1E7wq1F0I5/4yaQlma3I/v+NdyMiorFQpv3x2YjoleZtnmHN7CR11ZIE66YWT
uyZnFSTuYh6K5SJkfFQs2SKchI0D9MPPoaUYF/m0l2XAwIxs2EdBuxbRryzR8VBj
QmDEeb/fGTnRArJlWlM6KO2rFtUWNdL30zbVZfmxNsr3s7i+/f6ku4duVgtBWXFt
bq114qAFCD4YWM/Ho+T7OfgTUIgxgPjKWeYKovR81nomDxsiyAGHVCe5MR0TL2P9
S3kJEerIdpDNubW7ta4v9X1L1ZzuPJHLvlgRjHMy2N/31sQTrfaPnA9hjTOcyFw=
=rXOK
-----END PGP SIGNATURE-----
让我们把内容变得更加有趣吧!



Concept

概念


profanity.json 包括一系列的诅咒词语,它们对应PGP的字符,a-z, A-Z, 0-9, +, /, 和 =。使用OpenPGP.js, 信息可以通过相同的全球信任GPG客户端被加密或签名。Profanity65 用一个更加不敬的系统替换了信息的字符:

-----BEGIN PGP SIGNATURE-----
Version: Profanity65 VERSION
Comment: https://github.com/mapmeld/profanity65

dipshit damn dipshit fuck dumbass motherfucking fuck git dumbass dumbfuck dumbass fucker dumbass crap nsa-hugging cunt shit crap dipshit goddamn fuck fuck damn bullshit shit pissant damn horseshit ass cock fanny poppycock dumbass dumbass fanny cunt cuntpunter bitch motherfucker whore motherfucker damn bitch skank turd fuck dongle shitter nsa-hugging darn asshole asshole hellish twat anal nsa-hugging fucking bollocks turd whore
git dumbfuck fuckwad cunt piss dick tit douche nsa-hugging hellish voldemort twat shitstorm anal asshat bullshit whore goddamn bullshit shitstain twat piss whore fuck git ass ass horseshit pissant turd wanker shitstain cock dongle fucking slut crappy turd bullshit bitchy motherfucker bastard dumbfuck horseshit damn dumbfuck horseshit piss piss cunt whore hellish tit poppycock asshat dildo fanny tit asshole fuck
shitfaced dumbfuck poppycock asshole fanny schmuck ass bitchy twat bollocks hellish dickhead bastard bitch turd cunt dickish shit bastard motherfucker skank turd dickhead git darn balls dongle wanker shitstain fuckwad damn jackass bullshit asshat schmuck poppycock asshat frak asshat bastard jackass bollocks balls shit jackass shitstorm git dumbfuck dumbfuck crap git tit dildo crappy hellish hellish turd bitch hippie schmuck
hippie whore skank dongle schmuck fucking darn hipster cunt douchebag shitstain tit wanker motherfucking fucking motherfucking nsa-hugging crap cock hipster fanny fanny frak goddamn dickish crap douche frak pussy dongle asshat whoring
whoring dildo santorum crappy fucker
-----END PGP SIGNATURE-----


Test Install (insecure)


测试安装(不稳定)

npm install -g profanity65

profanity-encrypt SnowdenDocs.txt > GreenwaldMail.txt
profanity-decrypt KryptosSculpture.txt > LizardPeopleConstitution.txt

profanity-sign HackThePlanet.txt > Hackers.txt
profanity-verify SketchyEmail.txt


Install for real

真实安装


使用GPG创造密钥

gpg --gen-key
gpg --export --armor emailYouUsed@example.com > public_key.asc
gpg --export-secret-key --armor emailYouUsed@example.com > private_key.asc
安装软件

git clone https://github.com/mapmeld/profanity65.git
cd profanity65
npm install

编辑your_keys.js去获得你的公钥,私钥和密码.

npm install . -g


现在你可以使用profanity-encrypt加密和其他的命令行功能通过你自己的密钥.


永远不要提交你的私钥-在这个演示中用到的私钥是作为一个例子使用的,而且永远不会用来认证信息。


License

许可证

GPLv3+ -- based on OpenPGP.js which is LGPL

 类似资料:

相关阅读

相关文章

相关问答