JuliaRegistries / JuliaRegistries/CompatHelper.jl

Private key is not in the correct format

Open
#475 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Julia
Stars
147
Forks
43
Avg merge
21h 27m
Merged PRs (30d)
2

Description

I followed the [instructions](https://juliaregistries.github.io/CompatHelper.jl/dev/#Creating-SSH-Key) in the docs to set up the SSH key. But I get this [error](https://github.com/Vilin97/GradientFlows.jl/actions/runs/6739817555/job/18321961152):

```
[ Info: EnvVar `COMPATHELPER_PRIV` is defined, nonempty, and not `false`
[ Info: This doesn't look like a raw SSH private key. I will assume that it is a Base64-encoded SSH private key. I will now try to Base64-decode it.
ERROR: LoadError: Private key is not in the correct format. It must be a private key in PEM format. You should use the OpenSSH `ssh-keygen` command to generate the private key. You should pass the `-m PEM` option to ensure that the private key is in PEM format.
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Compare the Creating-SSH-Key documentation with the COMPATHELPER_PRIV parsing and error behavior shown in the report. Reproduce the setup using the linked GitHub Actions run context; done means the documented setup is accepted without the PEM-format error.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, julia
Domain
ci-cd, security
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.