getsops/sops · error
failed to parse '%s' age identities: %w
Error message
failed to parse '%s' age identities: %w
What it means
Error "failed to parse '%s' age identities: %w" thrown in getsops/sops.
Source
Thrown at age/encrypted_keys.go:191
return "", fmt.Errorf("gpg-agent passphrase request errored: %s", err)
}
//make sure that we won't store empty pass
if len(pass) == 0 {
IncorrectPassphrase()
}
return pass, nil
},
IncorrectPassphrase: IncorrectPassphrase,
NoMatchWarning: func() {
log.Warnf("encrypted identity '%s' didn't match file's recipients", location)
},
}}
return ids, nil
// An unencrypted age identity file.
default:
ids, err := parseIdentities(b, allowMultipleKeysPerLine)
if err != nil {
return nil, fmt.Errorf("failed to parse '%s' age identities: %w", location, err)
}
return ids, nil
}
}
View on GitHub (pinned to 13442bb981)
When it happens
Trigger: Thrown at age/encrypted_keys.go:191 when the library encounters an invalid state.
Common situations: See trigger scenarios.
Understand the failure class
- Parsing and encoding errors: unexpected token, malformed input — why parsers reject input and how to find the real culprit.
AI-assisted analysis of getsops/sops@13442bb981 (2026-09-01).
Data as JSON: /api/errors/c11247f8f09830b5.
Report an issue: GitHub.