Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"ERROR exec: "gpg": executable file not found in %PATH%" - keybase pgp select #4275

Open
life777eternal opened this issue Sep 1, 2024 · 0 comments

Comments

@life777eternal
Copy link

life777eternal commented Sep 1, 2024

Tried to import my public key, but it showed an error.

Keybase Import PGP Public Key

You are selecting a PGP key from your local GnuPG keychain, and
will publish a statement signed with this key to make it part of
your Keybase.io identity.

Note that GnuPG will prompt you to perform this signature.

You can also import the secret key to *local*, *encrypted* Keybase
keyring, enabling decryption and signing with the Keybase client.
To do that, use "--import" flag.

Learn more: keybase pgp help select

- ERROR exec: "gpg": executable file not found in %PATH%

By the way, it's OpenPGP now, and since I used Thunderbird to generate the key pair(which has had OpenPGP built in for several years now), would the cmd have to be on one of the Thunderbird folders? Or would my public key have to be in that folder?

Is there a specific folder that I have to place my public key file in?

And I just installed GPG4WIN again, would I need to change the cmd to one of the GPG4WIN directories?

Also when it shows

Note that GnuPG will prompt you to perform this signature.

what does it mean by "perform" ?

Thank you, Shalom.

my log id: e111096b20c576addf5c691c

Actually I found the GnuPG folder.

C:\Program Files (x86)\GnuPG\bin>keybase pgp select C:\Program Files (x86)\GnuPG\bin\^^^^^^^^^^^^-public.asc
Error parsing command line arguments: PGP select takes 0 or 1 arguments

NAME:
   keybase pgp select - Select a key from GnuPG as your own and register the public half with Keybase

USAGE:
   keybase pgp select [command options] [key query]

DESCRIPTION:
   "keybase pgp select" looks at the local GnuPG keychain for all
   available secret keys. It then makes those keys available for use with keybase.
   The steps involved are: (1a) sign a signature chain link with the selected PGP
   key and the existing device key; (1b) push this signature and the public PGP
   key to the server; and if "--import" flag is passed: (2a) copy the PGP secret half
   into your local Keybase keyring; and (2b) encrypt this secret key with Keybase's
   local key security mechanism.

   By default, Keybase suggests only one PGP public key, but if you want to,
   you can supply the "--multi" flag to override this restriction. If you
   want your secret key imported into the local Keybase keyring, then use
   the "--import" flag. Importing your secret key to Keybase keyring makes
   it possible to use Keybase PGP commands like "pgp decrypt" or "pgp sign".

   If you don't want to publish signature chain link to Keybase servers, use
   "--no-publish" flag. It's only valid when both "--no-publish" and "--import"
   flags are used.

   This operation will never push your secret key, encrypted or otherwise,
   to the Keybase server.

OPTIONS:
   --multi      Allow multiple PGP keys.
   --import     Import private key to the local Keybase keyring.
   --no-publish Only import to Keybase keyring, do not publish on user profile.



C:\Program Files (x86)\GnuPG\bin>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant