coder / coder/code-server

[Feat]: Web-based GPG pin entry for signing git commits

Đang mở
#5,271 7 bình luận 3 reaction 0 người được giao Xem trên GitHub
enhancement
Ngôn ngữ chính
TypeScript
Star
79.3k
Fork
6.8k
Merge trung bình
2 ngày 6 giờ
Pull request đã merge (30 ngày)
41

Mô tả

## What is your suggestion?
When signing git commits with GPG, where the GPG key exists on the server, display a prompt that allows for entry of the GPG pin.

## Why do you want this feature?
If you currently try to commit from the UI when using GPG signing, you get an error:
![image](https://user-images.githubusercontent.com/8848080/173771110-c5fd85df-f875-49d9-9b5d-8c967efdaf40.png)
![image](https://user-images.githubusercontent.com/8848080/173770079-9483009b-b003-4f39-a2bf-e3bb05da685f.png)

```
error: gpg failed to sign the data
fatal: failed to write commit object
```

...but if you use the terminal, it works fine:
```
git commit -m "My Commit Message"
```
![image](https://user-images.githubusercontent.com/8848080/173770228-b0f3fc5f-3463-4d6e-b5ec-6f4789068a9f.png)

This requires me to open the terminal every time I want to commit. I would prefer to use the nice UI.

## Are there any workarounds to get this functionality today?
Not that I know of. I could just be doing something entirely wrong.

## Are you interested in submitting a PR for this?
I wouldn't really know where to begin here, unfortunately, and lack the time at the moment to figure it out.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

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.