All Projects → mattevans → Pwned Passwords

mattevans / Pwned Passwords

Licence: mit
🔐Go client library for checking values against compromised HIBP Pwned Passwords

Programming Languages

go
31211 projects - #10 most used programming language
golang
3204 projects

Projects that are alternatives of or similar to Pwned Passwords

password-list
Password lists with top passwords to optimize bruteforce attacks
Stars: ✭ 174 (+114.81%)
Mutual labels:  password-safety, passwords
Dumb Passwords
Don't let your user be a victim of their own action
Stars: ✭ 77 (-4.94%)
Mutual labels:  passwords, password-safety
Fugacious
OSSSM (awesome). Open source short-term secure messaging
Stars: ✭ 100 (+23.46%)
Mutual labels:  passwords, password-safety
PwnedPasswords
PwnedPasswords as a Service
Stars: ✭ 24 (-70.37%)
Mutual labels:  password-safety, passwords
keevault
Kee Vault is a password manager for your web browser. Password databases (Vaults) are encrypted using the KeePass storage format before being sent to a remote server for synchronisation across any modern device/browser
Stars: ✭ 57 (-29.63%)
Mutual labels:  password-safety, passwords
laravel-pwned-passwords
Simple Laravel validation rule that allows you to prevent or limit the re-use of passwords that are known to be pwned (unsafe). Based on TroyHunt's Have I Been Pwned (https://haveibeenpwned.com)
Stars: ✭ 67 (-17.28%)
Mutual labels:  password-safety, passwords
Pass Rotate
A tool and library for rotating your password on online services
Stars: ✭ 610 (+653.09%)
Mutual labels:  passwords
Wce
Windows Credentials Editor v1.3beta
Stars: ✭ 49 (-39.51%)
Mutual labels:  passwords
Hashview
A web front-end for password cracking and analytics
Stars: ✭ 601 (+641.98%)
Mutual labels:  passwords
Snappass
Share passwords securely
Stars: ✭ 598 (+638.27%)
Mutual labels:  passwords
Firepwned
🙏 Checks Firefox saved passwords against known data leaks using the Have I Been Pwned API.
Stars: ✭ 69 (-14.81%)
Mutual labels:  password-safety
Passwordcockpit
Passwordcockpit is a simple, free, open source, self hosted, web based password manager for teams. It is made in PHP, Javascript, MySQL and it run on a docker service. It allows users with any kind of device to safely store, share and retrieve passwords, certificates, files and much more.
Stars: ✭ 34 (-58.02%)
Mutual labels:  passwords
Whaler
Program to reverse Docker images into Dockerfiles
Stars: ✭ 670 (+727.16%)
Mutual labels:  passwords
Azure password harvesting
Plaintext Password harvesting from Azure Windows VMs
Stars: ✭ 61 (-24.69%)
Mutual labels:  password-safety
Lockwise Android
Firefox's Lockwise app for Android
Stars: ✭ 607 (+649.38%)
Mutual labels:  passwords
Pwned Passwords Django
Utilities for working with the Pwned Passwords database from Django.
Stars: ✭ 71 (-12.35%)
Mutual labels:  passwords
Wpa2 Wordlists
A collection of wordlists dictionaries for password cracking
Stars: ✭ 597 (+637.04%)
Mutual labels:  passwords
Probable Wordlists
Version 2 is live! Wordlists sorted by probability originally created for password generation and testing - make sure your passwords aren't popular!
Stars: ✭ 7,312 (+8927.16%)
Mutual labels:  password-safety
Passwords Webextension
The official browser extension for the Passwords app for Nextcloud.
Stars: ✭ 68 (-16.05%)
Mutual labels:  passwords
Pwnedornot
OSINT Tool for Finding Passwords of Compromised Email Addresses
Stars: ✭ 888 (+996.3%)
Mutual labels:  passwords

pwned-passwords

GoDoc Build Status Go Report Card license

A simple Go client library for checking compromised passwords against HIBP Pwned Passwords.

Upon request, results will be cached (in-memory) for a configurable window, keyed by hash.

Installation

go get -u github.com/mattevans/pwned-passwords

Usage

package main

import (
    "fmt"
    "os"
    "time"

    hibp "github.com/mattevans/pwned-passwords"
)

const (
    storeExpiry = 1 * time.Hour
)

func main() {
    // Init a client.
    client := hibp.NewClient(storeExpiry)

    // Check to see if your given string is compromised.
    pwned, err := client.Pwned.Compromised("string to check")
    if err != nil {
        os.Exit(1)
    }

    if pwned {
        // Oh dear! 😱
        // You should avoid using that password
    }
}

Managing the inmemory store

// Delete will remove an item from the store by hash.
client.Store.Delete(HASHED_VALUE)
// DeleteExpired will remove all expired items from the store.
client.Store.DeleteExpired()
// PurgeAll will flush the store.
client.Store.PurgeAll()

Contributing

If you've found a bug or would like to contribute, please create an issue here on GitHub, or better yet fork the project and submit a pull request!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].