Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tg123/go-htpasswd

Apache htpasswd Parser for Go.
https://github.com/tg123/go-htpasswd

golang htpasswd

Last synced: 4 days ago
JSON representation

Apache htpasswd Parser for Go.

Awesome Lists containing this project

README

        

# htpasswd for Go

![](https://github.com/tg123/go-htpasswd/workflows/Go/badge.svg)
[![Go Doc](https://godoc.org/github.com/tg123/go-htpasswd?status.svg)](https://godoc.org/github.com/tg123/go-htpasswd)
[![Go Report Card](https://goreportcard.com/badge/github.com/tg123/go-htpasswd)](https://goreportcard.com/report/github.com/tg123/go-htpasswd)

This is a libary to validate user credentials against an HTTPasswd file.

This was forked from
with modifications by @brian-avery to support SSHA, Md5Crypt, and Bcrypt and @jespersoderlund to support Crypt with SHA-256 and SHA-512 support.

## Currently, this supports:
* SSHA
* MD5Crypt
* APR1Crypt
* SHA
* Bcrypt
* Plain text
* Crypt with SHA-256 and SHA-512