I am unable to decode a key on mac
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 9.2k
- Forks
- 1.3k
- Avg merge
- 12h 58m
- Merged PRs (30d)
- 56
Description
I got through my encrypted output but I get an error when I try to decrypt
your log ID : 591bbb04059392d8e9db9b1c
terraform output password | base64 --decode | keybase pgp decrypt
▶ ERROR decrypt error: unable to find a PGP decryption key for this message
upon checking
Keybase Key ID: uiyftgioruyghjeiruyghejiuytghjiuytghj
PGP Fingerprint: lmnop
PGP Identities:
abc xyz <abc@brightcove.com>```
**I have a public key**
```keybase pgp export --unencrypted --query lmnop
-----BEGIN PGP PUBLIC KEY BLOCK----- Comment: https://keybase.io/download Version: Keybase Go 4.6.0 (darwin)
xsFNBF2g0BcuytfvbjfdsertyhbvcxsdtyjkloiuhEamMxbD1Hhcz3GWA+op8Pal
............wieuyjhgbnkuygfvbnkiuygfvbjkliugh
but I do not have a private key,
▶ ERROR No matching keys found```
I wanted to restart and test and did
``` keybase pgp purge -p```
I think that was a bad idea. I am still stuck at the same point.
I try to create a new key, and fill in all the details I get an error
```>>keybase pgp gen
▶ ERROR You already have a PGP key registered (CHS6 AKDU WFRE 2343 0986 MADH ZOOO BOOO
ROOO FOOO) Specify the --multi flag to override this check```
I then created a new key using
```>>> keybase pgp gen --multi```
I now have 2 keys, my second key has a private and a public key. I used
```key = "keybase:nameof2ndkey"
terraform init
terraform plan
terraform apply```
```>>>output
password = uytfdxcvbnmnbvcxsertyujnbvcxzsdrtyujkliuytdcvbjkgfdsaertyjnbvcxsdtyjnbvcdrtyhjnbvcdftyjn```
still does not decrypt with
terraform output password | base64 --decode | keybase pgp decrypt
▶ ERROR decrypt error: unable to find a PGP decryption key for this message
what can I Do ? how do I get my non encrypted password?
TIA
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the listed keybase pgp list, export, gen, and decrypt commands on macOS, using the Terraform output flow described. Compare the public/private key state and encryption recipient, then determine whether the behavior is a confirmed defect or a key-recovery issue; done means a documented diagnosis and supported next step.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- terraform
- Domain
- cli, cryptography, security
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100