question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add a note in the readme how to export a gpg key

See original GitHub issue

This action can automatically configure gpg key if we set:

        gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} # Value of the GPG private key to import
        gpg-passphrase: MAVEN_GPG_PASSPHRASE # env variable for GPG private key passphrase

But it is not clear for me what MAVEN_GPG_PRIVATE_KEY secret should contain. I have generated a gpg key in my local machine but how should I export it to be valid? Maybe we can add a note in the readme?

thanks

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
pgerhardcommented, Feb 15, 2021

The updated documentation reads

GPG key should be imported by: gpg --armor --export-secret-keys YOUR_ID

Is this correct? Based on the provided command I would have expected it to read

GPG key should be exported by: gpg --armor --export-secret-keys YOUR_ID
1reaction
davideicardicommented, Sep 13, 2020

Maybe we should export it using:

gpg --armor --export-secret-keys YOUR_ID

Right?

Can we just add something similar in the readme?

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to export and import keys with GPG - Linux Hint
With the help of the “gpg” command, you can easily export and import the public key and private key. However, in the case...
Read more >
How to use GPG key in github actions? - gnupg - Stack Overflow
Open a terminal window. If you don't know your key ID, search it by e-mail: gpg --list-secret-keys user@example.
Read more >
Flux fails to import GPG key with this procedure - Repo One
My suggestion would be to update the README.md to state that the GPG key, however created, should not has a pin/passphrase on it....
Read more >
How to export a GPG private key and public key to a file
I could restore public keys by gpg --import-options restore --import backupkeys.pgp , but that does not restore secret keys, only the public ...
Read more >
pass - ArchWiki
Note : To be able to use pass, set up GnuPG. The trust level of the key used for pass must be "ultimate."...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found