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

オープン
#4,275 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
20/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
領域
cryptography

調査の方向性

keybase pgp select のエントリポイントから始め、GPG4WIN がインストールされていて gpg が %PATH% で利用できない状態で Windows コマンドを再現します。文書化されている鍵クエリまたはファイルパスの使用方法を確認し、報告されている実行可能ファイルまたは引数解析のエラーなしで鍵の選択が機能すれば、issue は解決済みとみなします。

索引モデルが issue の本文から書いたものです。

説明

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>
主要言語
言語のデータがありません
スター
899
フォーク
40
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

keybase/keybase-issues のほかの issue

keybase/keybase-issues の issue をすべて見る

似ている issue

Cryptography の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。