nasty(1)

nasty1

A tool which helps you to recover your gpg passphrase

Usage

nasty [OPTIONS]

Overview

nasty is a program that helps you to recover the passphrase of your PGP or GPG-key in case you forget or lost it.

Options

-a x

set minimum length of passphrase

-b x

set maximum length

-m x

set guessing mode:
incremental: try them all
random: try at random
file: read phrases from file (use -i)

-i x

file to read the passphrases from

-f x

file to write the found passphrase to

-c x...

charset, one or more from the following:
a: a-z
A: A-Z
0: 0-9
.: all ascii values (32...126)
+: 32...255 (default(!))

-k x

filter string to select a key

-v

enable verbose mode

-h

show command options

Issues

Nasty will not work if you try it with a gpg-agent running in your system. For obvious reasons the agent will ask you the passphrase to access your private key - which you probably don't record, right? :)

Releases

8 releases since Debian 6.0 (Squeeze); the text changed 1 time.

  1. 6.0–12
  2. 13

-k since Debian 13 (Trixie); -v since Debian 13 (Trixie).

Author

This manual page was written by Tiago Bortoletto Vaz <[email protected]> for the Debian GNU/Linux system (but may be used by others).

From nasty 0.6+git20220929.9830b7a-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.