Make PGP messages and signatures more interesting
原文地址及代碼下載:
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 用一個更加不敬的系統(tǒng)替換了信息的字符:
-----BEGIN PGP SIGNATURE----- Version: Profanity65 VERSION Comment: https://github.com/mapmeld/profanity65dipshit 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)
測試安裝(不穩(wěn)定)
npm install -g profanity65profanity-encrypt SnowdenDocs.txt > GreenwaldMail.txt profanity-decrypt KryptosSculpture.txt > LizardPeopleConstitution.txtprofanity-sign HackThePlanet.txt > Hackers.txt profanity-verify SketchyEmail.txt
Install for real
真實安裝
使用GPG創(chuàng)造密鑰
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
總結
以上是生活随笔為你收集整理的Make PGP messages and signatures more interesting的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 多因子选股之策略的实现
- 下一篇: NAR | IMG/VR v4:在广泛的