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

Đang mở
#4,275 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
20/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Lĩnh vực
cryptography

Hướng nghiên cứu

Bắt đầu với entry point keybase pgp select và tái hiện lệnh Windows khi GPG4WIN đã được cài đặt nhưng gpg không khả dụng trong %PATH%. Kiểm tra cách sử dụng truy vấn khóa hoặc đường dẫn tệp được ghi trong tài liệu, và coi issue là đã được giải quyết khi việc chọn khóa hoạt động mà không gặp các lỗi đã báo cáo liên quan đến tệp thực thi hoặc phân tích đối số.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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>
Ngôn ngữ chính
Không có dữ liệu ngôn ngữ
Star
899
Fork
40
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của keybase/keybase-issues

Tất cả issue của keybase/keybase-issues

Issue tương tự

Thêm issue về Cryptography

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.