tipsy

command module
v0.0.0-...-0c294a2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 9, 2022 License: GPL-3.0 Imports: 11 Imported by: 0

README

tipsy gopher

tipsy 🍻

go test codeql scanning

Tipsy is a Go library that provides the building blocks for typo-tolerant authentication systems

Future work

  • JS to collect data about pasted vs typed password (see docs/pasted.md)
  • check if user already has requested token before creating new one in PasswordReset before storeToken
  • use per-user salt in typtop
  • make PBE & PKE configurable
  • block attempts by IP
  • add support for whitespace passwords
  • make correctors work with different keyboard layouts

Running the experiments

# all tests
go test -v -timeout=0

# tests for a single checker
go test -v -timeout=0 -run TestSecLossAlways
go test -v -timeout=0 -run TestSecLossBlacklist
go test -v -timeout=0 -run TestSecLossOptimal

# read results for q = 10, 100, 10000
go test -v -timeout=0 -run TestSecLoss
Generating plots
# comparing checkers using a given dataset
go test -v -run TestPlotDataset

# comparing dataset using a checker
go test -v -run TestPlotChecker

# generate a plot for a single checker & dataset
go test -v -run TestPlot

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
web

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL