From 24c156c301b524c310dba011d20ec4c8ce8cef89 Mon Sep 17 00:00:00 2001 From: Nick Doiron Date: Wed, 16 Dec 2015 11:29:05 +0545 Subject: [PATCH] change internals to Profanity-PGP name --- README.md | 14 +++++++------- decrypt.js | 4 ++-- encrypt.js | 4 ++-- package.json | 6 +++--- sign.js | 4 ++-- verify.js | 4 ++-- 6 files changed, 18 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index d283b9d..c38c0cf 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Profanity65 +# Profanity-PGP Anyone can use PGP to make their e-mail more secure. Using a pair of public and private keys, you either encrypt the entire message for a user, or add a signature to your e-mail for others to verify that it is your original content. @@ -26,13 +26,13 @@ Let's make them more interesting! profanity.json includes a list of swears which map to valid PGP characters, a-z, A-Z, 0-9, +, /, and = -Using OpenPGP.js, messages are encrypted or signed using the same globally-trusted GPG client. Then Profanity65 +Using OpenPGP.js, messages are encrypted or signed using the same globally-trusted GPG client. Then Profanity-PGP replaces the message's characters with a much more profane system: ``` -----BEGIN PGP SIGNATURE----- -Version: Profanity65 VERSION -Comment: https://github.com/mapmeld/profanity65 +Version: Profanity-PGP VERSION +Comment: https://github.com/mapmeld/profanity-pgp 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 @@ -45,7 +45,7 @@ whoring dildo santorum crappy fucker ## Test Install (insecure) ``` -npm install -g profanity65 +npm install -g profanity-pgp profanity-encrypt SnowdenDocs.txt > GreenwaldMail.txt profanity-decrypt KryptosSculpture.txt > LizardPeopleConstitution.txt @@ -65,8 +65,8 @@ gpg --export-secret-key --armor emailYouUsed@example.com > private_key.asc Install the software ``` -git clone https://github.com/mapmeld/profanity65.git -cd profanity65 +git clone https://github.com/mapmeld/profanity-pgp.git +cd profanity-pgp npm install ``` diff --git a/decrypt.js b/decrypt.js index 2cede1b..cc49033 100644 --- a/decrypt.js +++ b/decrypt.js @@ -22,8 +22,8 @@ if (process.argv.length > 2) { }); } else { var encrypted = ["-----BEGIN PGP MESSAGE-----", - "Version: Profanity65 VERSION", - "Comment: https://github.com/mapmeld/profanity65", + "Version: Profanity-PGP VERSION", + "Comment: https://github.com/mapmeld/profanity-pgp", "", "dipshit asshat dumbfuck hipster dumbass tit douchebag damn asshole schmuck horseshit bastard ass douchebag shitfaced dickhead dumbass motherfucking bitch dumbass damn ass dickhead fuckwad frak fucker twat damn dumbfuck bitch dildo poppycock dickhead shitstorm pissant douche cunt cunt piss piss slut wanker dumbfuck balls twat bitchy bastard fuckwad nsa-hugging tit douchebag fuck shitty motherfucker dickhead jackass shitter slut skank shitstorm", "fuck fuck asshole santorum balls dick dumbfuck dickish whore motherfucking bitchy whore asshole dickbag horseshit voldemort fuck wanker fucker darn frak shitstain fucking asshat anal bitchy ass git asshole dongle dumbfuck dickhead motherfucking dickish bitch fuckwad douche horseshit bitch fanny dick santorum balls fuckwad hippie ass dick bitch turd asshat fucking shitfaced darn dickbag douchebag ass whore asshat fucking bastard", diff --git a/encrypt.js b/encrypt.js index caedcb8..e1430d9 100644 --- a/encrypt.js +++ b/encrypt.js @@ -26,8 +26,8 @@ if (process.argv.length > 2) { function doEncrypt(plaintext) { openpgp.encryptMessage(pubKey, plaintext).then(function(pgpMessage) { - pgpMessage = pgpMessage.replace('OpenPGP.js', 'Profanity65'); - pgpMessage = pgpMessage.replace('http://openpgpjs.org', 'https://github.com/mapmeld/profanity65'); + pgpMessage = pgpMessage.replace('OpenPGP.js', 'Profanity-PGP'); + pgpMessage = pgpMessage.replace('http://openpgpjs.org', 'https://github.com/mapmeld/profanity-pgp'); var msg = pgpMessage.split('\n'); for(var l = 4; l < msg.length - 2; l++) { var original_line = msg[l]; diff --git a/package.json b/package.json index 3cc8f26..d5ec54d 100644 --- a/package.json +++ b/package.json @@ -1,10 +1,10 @@ { - "name": "profanity65", - "version": "0.0.1", + "name": "profanity-pgp", + "version": "0.0.2", "description": "PGP encryption and message-signing with a twist", "repository": { "type": "git", - "url": "git://github.com/mapmeld/profanity65" + "url": "git://github.com/mapmeld/profanity-pgp" }, "author": "Nick Mapmeld ", "license": "GPLv3+", diff --git a/sign.js b/sign.js index 666a220..65c797b 100644 --- a/sign.js +++ b/sign.js @@ -30,8 +30,8 @@ function doSign(plaintext) { openpgp.signClearMessage(privKey, plaintext).then(function(pgpMessage) { var original = pgpMessage.split('-----BEGIN PGP SIGNATURE-----')[0]; var sig = pgpMessage.split('-----BEGIN PGP SIGNATURE-----')[1]; - sig = sig.replace('OpenPGP.js', 'Profanity65'); - sig = sig.replace('http://openpgpjs.org', 'https://github.com/mapmeld/profanity65'); + sig = sig.replace('OpenPGP.js', 'Profanity-PGP'); + sig = sig.replace('http://openpgpjs.org', 'https://github.com/mapmeld/profanity-pgp'); var littlesig = sig.split('\n'); for(var l = 3; l < littlesig.length - 2; l++) { var original_line = littlesig[l]; diff --git a/verify.js b/verify.js index 9f6d29c..5f4ef51 100644 --- a/verify.js +++ b/verify.js @@ -28,8 +28,8 @@ if (process.argv.length > 2) { "this is a test", "what happens next?", "-----BEGIN PGP SIGNATURE-----", - "Version: Profanity65 VERSION", - "Comment: https://github.com/mapmeld/profanity65", + "Version: Profanity-PGP VERSION", + "Comment: https://github.com/mapmeld/profanity-pgp", "", "dipshit dickbag dumbfuck asshat dumbfuck dumbass fuck dumbfuck fanny dumbass dumbass motherfucking dumbfuck motherfucking goddamn poppycock shitfaced turd fuck git fanny nsa-hugging dumbass ass fuckwad hipster dumbfuck dumbfuck nsa-hugging motherfucker hellish fuckwad pissant dipshit dumbass dumbass shitstorm hippie shitstain fuckwad wanker nsa-hugging ass git whore anal pissant douchebag crap cunt pissant fuck jackass dick dick crappy bullshit douchebag shitty bitch", "voldemort hippie dipshit piss shit hipster hellish hellish bitch fuck slut jackass douche dickhead hellish dickbag frak cock shitter dumbfuck frak asshat motherfucking bullshit frak shitter douche motherfucking ass douchebag piss hipster motherfucking voldemort piss poppycock anal crap dumbfuck asshat ass crap fucker fuck douchebag hippie shitty hipster shitfaced shitstain schmuck tit shitstain slut hipster dongle motherfucker hellish hellish santorum",