npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

profanity-pgp

v0.0.2

Published

PGP encryption and message-signing with a twist

Downloads

8

Readme

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.

Unfortunately, PGP signatures usually look kinda boring:

-----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-----

Let's make them more interesting!

Concept

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 Profanity-PGP replaces the message's characters with a much more profane system:

-----BEGIN PGP SIGNATURE-----
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
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 profanity-pgp

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

Create keys in GPG

gpg --gen-key
gpg --export --armor [email protected] > public_key.asc
gpg --export-secret-key --armor [email protected] > private_key.asc

Install the software

git clone https://github.com/mapmeld/profanity-pgp.git
cd profanity-pgp
npm install

Edit your_keys.js to have your public key, private key, and passphrase.

npm install . -g

You can now use profanity-encrypt and other command line functions with your own key.

Never commit your private key - the one in this repo is used as an example and never for authorized messages.

NSA-hugging Option!

CC your friends at the NSA by encrypting with terms used by the ECHELON program:

cp echelon.json profanity.json

License

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