ErrLookup › FiloSottile/age
FiloSottile/age
A simple, modern and secure encryption tool (and Go library) with small explicit keys, no config options, and UNIX-style composability. · Go · 33 source files
Analyzed at b74dce4cdb on 2026-09-01. 113 documented errors.
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| SSH public key is not an RSA key | exception | error | ssh, key-type, validation, age |
| unexpected public key type | exception | error | ssh, rsa, type-assertion, age |
| pk does not implement ssh.CryptoPublicKey | exception | error | ssh, interface, rsa, age |
| RSA key size is too small | exception | error | rsa, key-size, security, ssh, age |
| invalid ssh-rsa recipient block | exception | error | age, stanza, malformed-input, ssh-rsa |
| SSH public key is not an Ed25519 key | exception | error | ssh, ed25519, key-type, age |
| invalid ssh-ed25519 recipient block | exception | error | age, stanza, malformed-input, ssh-ed25519 |
| ArmoredWriter already closed | exception | error | go, age, armor, writer, use-after-close |
| trailing data after armored file | exception | error | go, age, armor, reader, trailing-data |
| too much trailing whitespace | exception | error | go, age, armor, reader, whitespace |
| too much leading whitespace | exception | error | go, age, armor, reader, whitespace |
| empty line in armored data | exception | error | go, age, armor, reader, malformed-input |
| column limit exceeded | exception | error | go, age, armor, reader, line-length |
| unexpected newline character | exception | error | go, age, armor, reader, newline, crlf |
| unexpected newline character | exception | error | go, age, base64, format, newline, crlf |
| no recipient stanzas | exception | error | encryption, header, validation |
| trailing data after end of encrypted file | exception | error | streaming, ciphertext, trailing-data |
| last chunk is empty, try age v1.0.0, and please consider rep | exception | error | streaming, chunking, compatibility |
| failed to decrypt and authenticate payload chunk, file may b | exception | critical | encryption, aead, integrity |
| stream.Writer is already closed | exception | error | streaming, writer, lifecycle |
| SetConsoleMode failed | exception | warning | windows, terminal, console |
| user cancelled prompt | exception | info | plugin, tui, user-input |
| invalid Ed25519 public key: %v | exception | error | ssh, ed25519, key-format |
| malformed SSH recipient: %q: %v | exception | error | ssh, parsing, recipient |
| unknown SSH recipient type: %q | exception | error | ssh, recipient, unsupported-key-type |
| mismatched private and public SSH key | exception | error | ssh, age, key-mismatch, decryption |
| invalid first line: %q | exception | error | armor, parsing, input-format, age |
| invalid closing line: %q | exception | error | armor, parsing, truncated-input, age |
| invalid data range: data[%d]=%d (frombits=%d) | exception | error | bech32, encoding, bit-manipulation, internal |
| illegal zero padding | exception | error | bech32, decoding, padding, internal |
| non-zero padding | exception | error | bech32, decoding, padding, internal |
| invalid HRP: %q | exception | error | bech32, validation, hrp, internal |
| invalid HRP character: hrp[%d]=%d | exception | error | bech32, validation, ascii, hrp, internal |
| mixed case HRP: %q | exception | error | bech32, validation, case-sensitivity, hrp, internal |
| mixed case | exception | error | bech32, decoding, case-sensitivity, input-validation, age |
| separator '1' at invalid position: pos=%d, len=%d | exception | error | bech32, decoding, age |
| invalid character human-readable part: s[%d]=%d | exception | error | bech32, decoding, ascii |
| invalid character data part: s[%d]=%v | exception | error | bech32, charset, decoding |
| data part too short | exception | error | bech32, decoding, truncation |
| invalid checksum | exception | error | bech32, checksum, integrity |
| invalid stanza type: %q | validation | error | age, format, stanza, serialization |
| invalid stanza argument: %q | validation | error | age, format, stanza, serialization |
| failed to read line: %w | exception | error | age, io, truncation, parsing |
| malformed stanza opening line: %q | validation | error | age, format, parsing, malformed-input |
| malformed stanza: %q | validation | error | age, format, parsing, malformed-input |
| malformed body line %q: stanza ended without a short line no | validation | error | format, header-parsing, backwards-compatibility, beta-version |
| parsing age header: | exception | error | format, header-parsing, parse-error |
| failed to read header: %w | exception | error | io, eof, header-parsing, truncated-file |
| failed to parse header: %w | exception | error | format, header-parsing, corruption |
| failed to read header: %w | exception | error | inspect, header-parsing, cli |
| failed to re-serialize header: %w | exception | warning | inspect, serialization, memory |
| failed to read rest of file: %w | exception | error | io, inspect, stream-read |
| failed to compute stream overhead: %w | exception | error | inspect, stream-framing, size-validation |
| encrypted size too small: %d | exception | error | inspect, validation, stream-framing, size-validation |
| invalid encrypted payload size: %d | exception | error | stream, validation, size-mismatch, go |
| non-EOF error reading after end of encrypted file: %w | exception | error | stream, io, network, go |
| failed to read final chunk: %w | exception | error | stream, io, readerat, truncated-data, go |
| failed to decrypt and authenticate final chunk: %w | exception | error | stream, crypto, authentication, corrupt-data, go |
| offset out of range [0:%d]: %d | exception | error | stream, bounds-check, readerat, go |
| failed to read chunk at offset %d: %w | exception | error | stream, io, readerat, truncated-data, go |
| failed to decrypt and authenticate chunk at offset %d: %w | exception | error | stream, crypto, authentication, corrupt-data, go |
| standard input is not a terminal, and /dev/tty is not availa | exception | error | terminal, tty, interactive-input, environment, go |
| %s plugin: %w | exception | error | plugin, error-wrapping, age, go |
| couldn't start plugin: %w | exception | error | go, age, plugin, process-exec, path |
| malformed recipient stanza: unexpected argument count | exception | error | go, age, plugin, protocol, malformed-data |
| malformed recipient stanza: invalid index | exception | error | go, age, plugin, protocol, malformed-data |
| malformed recipient stanza: unexpected index | exception | error | go, age, plugin, protocol, malformed-data |
| repeated labels stanza | exception | error | go, age, plugin, protocol, duplicate |
| %s | exception | error | go, age, plugin, protocol, remote-error |
| received zero recipient stanzas | exception | error | go, age, plugin, protocol, empty-result |
| invalid plugin name: %q | exception | error | go, age, plugin, validation, invalid-input |
| malformed file-key stanza: unexpected arguments count | exception | error | go, age, plugin-protocol, stanza-parsing |
| malformed file-key stanza: invalid index | exception | error | go, age, plugin-protocol, stanza-parsing |
| malformed file-key stanza: unexpected index | exception | error | go, age, plugin-protocol, stanza-parsing |
| received duplicated file-key stanza | exception | error | go, age, plugin-protocol, duplicate-stanza |
| malformed confirm stanza: unexpected number of arguments | exception | error | go, age, plugin-protocol, confirm-stanza |
| malformed confirm stanza: invalid YES option encoding | exception | error | go, age, plugin-protocol, bech32, confirm-stanza |
| malformed confirm stanza: invalid NO option encoding | exception | error | go, age, plugin-protocol, bech32, confirm-stanza |
| invalid identity encoding: %v | exception | error | go, age, bech32, identity-parsing, input-validation |
| not a plugin identity: %v | exception | error | go, bech32, parsing, age-encryption |
| invalid plugin name: %q | exception | error | go, validation, naming, age-encryption |
| invalid recipient encoding: %v | exception | error | go, bech32, parsing, age-encryption |
| not a plugin recipient: %v | exception | error | go, bech32, parsing, age-encryption |
| wrong ecdh Curve | exception | error | go, crypto, ecdh, x25519 |
| failed to create hybrid public key: %v | exception | error | go, crypto, hpke, post-quantum, mlkem |
| invalid plugin name: %q | exception | error | go, validation, naming, age-plugin |
| unsupported plugin name: %q | exception | error | go, age-plugin, protocol, dispatch |
| recipient encodings not supported | exception | error | age, plugin, configuration, recipient |
| identity encodings not supported | exception | error | age, plugin, identity, configuration |
| labels %q do not match previous recipients %q | exception | error | age, plugin, labels, protocol |
| client failed to display message | exception | warning | age, plugin, ui, client-interaction |
| client failed to request value | exception | error | age, plugin, prompt, client-interaction |
| client failed to request confirmation | exception | error | age, plugin, confirm, client-interaction |
| %v | exception | error | age, plugin, protocol, interaction |
| %s stanza has %d arguments, want %d | exception | error | age, plugin-protocol, stanza, argument-count |
| %s stanza has %d bytes of body, want 0 | exception | error | age, plugin-protocol, stanza, unexpected-body |
| %s stanza has 0 bytes of body, want >0 | exception | error | age, plugin-protocol, stanza, missing-body |
| failed to read OK stanza: %v | exception | error | age, plugin-protocol, io, broken-plugin |
| expected OK stanza, got %q | exception | error | age, plugin-protocol, stanza, unexpected-reply |
| failed to read response stanza: %v | exception | error | age, plugin-protocol, io, interactive-prompt |
| expected ok or fail stanza, got %q | exception | error | age, plugin-protocol, stanza, unexpected-reply |
| failed to read unsupported stanza: %v | exception | error | age, plugin-protocol, io, unsupported-command |
| expected unsupported stanza, got %q | exception | error | go, protocol, plugin, stanza |
| failed to write error stanza: %v | exception | error | go, io, plugin, stdout |
| malformed recipient %q: %v | exception | error | go, bech32, parsing, recipient |
| malformed recipient %q: invalid type %q | exception | error | go, parsing, recipient, type-mismatch |
| invalid tag recipient public key size %d | exception | error | go, p256, crypto, key-size |
| invalid tag recipient public key: %v | exception | error | go, p256, crypto, point-decoding |
| invalid tagpq recipient public key: %v | exception | error | go, age, hpke, public-key, post-quantum, key-parsing |
| invalid ciphertext size | exception | error | go, age, hpke, ciphertext, size-validation, post-quantum |
| failed to compute tag: %v | exception | error | go, hkdf, sha256, crypto, tag-derivation |
| failed to set up HPKE sender: %v | exception | error | go, age, hpke, sender-setup, post-quantum |
| failed to encrypt file key: %v | exception | error | go, age, hpke, aead, encryption, chacha20poly1305 |