{"record":{"id":"c11247f8f09830b5","repo":"getsops/sops","slug":"failed-to-parse-s-age-identities-w","errorCode":null,"errorMessage":"failed to parse '%s' age identities: %w","messagePattern":"failed to parse '(.+?)' age identities: %w","errorType":"error_code","errorClass":null,"httpStatus":null,"severity":"error","filePath":"age/encrypted_keys.go","lineNumber":191,"sourceCode":"\t\t\t\t\treturn \"\", fmt.Errorf(\"gpg-agent passphrase request errored: %s\", err)\n\t\t\t\t}\n\t\t\t\t//make sure that we won't store empty pass\n\t\t\t\tif len(pass) == 0 {\n\t\t\t\t\tIncorrectPassphrase()\n\t\t\t\t}\n\t\t\t\treturn pass, nil\n\t\t\t},\n\t\t\tIncorrectPassphrase: IncorrectPassphrase,\n\t\t\tNoMatchWarning: func() {\n\t\t\t\tlog.Warnf(\"encrypted identity '%s' didn't match file's recipients\", location)\n\t\t\t},\n\t\t}}\n\t\treturn ids, nil\n\t// An unencrypted age identity file.\n\tdefault:\n\t\tids, err := parseIdentities(b, allowMultipleKeysPerLine)\n\t\tif err != nil {\n\t\t\treturn nil, fmt.Errorf(\"failed to parse '%s' age identities: %w\", location, err)\n\t\t}\n\t\treturn ids, nil\n\t}\n}\n","sourceCodeStart":173,"sourceCodeEnd":196,"githubUrl":"https://github.com/getsops/sops/blob/13442bb98183887d7a9ac09ec8ab0564673a59d8/age/encrypted_keys.go#L173-L196","documentation":"Error \"failed to parse '%s' age identities: %w\" thrown in getsops/sops.","triggerScenarios":"Thrown at age/encrypted_keys.go:191 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"13442bb98183887d7a9ac09ec8ab0564673a59d8","analyzedAt":"2026-09-01T03:53:00.447Z","contentChangedAt":null,"schemaVersion":2},"datasetVersion":"2026-09-08T10:18:20.063Z"}