1Password x Gitpod integration #14202
Labels
aspect: product integration
For any 3rd party integration requests
component: ssh gateway
editor: code (desktop)
feature: ssh
feature: 1password
meta: never-stale
This issue can never become stale
team: IDE
type: feature request
New feature or request
Use 1Password to sign commits in Gitpod
As discussed with @Nancy-Chauhan, @pawlean, and Michael Aring.
1Password for SSH & Git lets you pull, push, and sign commits using Touch ID, Apple Watch or Windows Hello within a remote Gitpod workspace, without the private key ever leaving 1Password. If you exit the workspace or lock 1Password, all access gets voided.
Next to the Git use case, there are other SSH use cases that could be interesting as well:
What already works today
1. Automatically generate SSH keys and upload public keys to Gitpod, right from the browser:
gitpod-autofill.mov
2. Authenticate into a Gitpod workspace locally using an SSH key stored in 1Password:
gitpod-authentication.mov
3. Make a signed Git commit from within a Gitpod workspace:
gitpod-sign-commits.mov
gitpod-verify-sig.mov
Opportunity to improve: onboarding flow
While the above videos technically already work, there are a few steps involved for the user to set this up:
Have Gitpod configure a key in the Gitconfig
Gitpod already configures the Git commit author name and email in every Gitpod workspace:
To improve the commit signing setup, Gitpod could also autoconfigure
user.signingkey
,gpg.format = ssh
, andcommit.gpgsign = true
.This would need consent of the user, which could possibly be done from the the SSH Keys settings pane. Maybe through a checkbox:
Use for commit signing
, or a dropdown? Here's how GitHub solves it:Opportunity to improve: Discoverability
Not a lot of people know that commit signing with SSH keys is now possible. So we could think of ways to bring this more to the forefront. For example:
Commit Signing
settings pane just like the existingSSH Keys
pane.Limitations
Desktop IDE only
All of the above only works when using Gitpod in a Desktop IDE. In the future, I'd love to also explore a full browser integration, but that would require a bit more engineering work on the Gitpod side as well.
GitHub only
Commit signing currently only works (well) with GitHub, but GitLab support is coming real soon as well.
The text was updated successfully, but these errors were encountered: