Skip to content

Commit

Permalink
change internals to Profanity-PGP name
Browse files Browse the repository at this point in the history
  • Loading branch information
mapmeld committed Dec 16, 2015
1 parent 723c0a9 commit 24c156c
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 18 deletions.
14 changes: 7 additions & 7 deletions 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.
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
```

Expand Down
4 changes: 2 additions & 2 deletions decrypt.js
Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions encrypt.js
Expand Up @@ -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];
Expand Down
6 changes: 3 additions & 3 deletions 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 <ndoiron@mapmeld.com>",
"license": "GPLv3+",
Expand Down
4 changes: 2 additions & 2 deletions sign.js
Expand Up @@ -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];
Expand Down
4 changes: 2 additions & 2 deletions verify.js
Expand Up @@ -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",
Expand Down

0 comments on commit 24c156c

Please sign in to comment.