gitui icon indicating copy to clipboard operation
gitui copied to clipboard

[ bug ] Error: private key is encrypted

Open yonas opened this issue 1 year ago • 4 comments

Describe the bug gitui can't deal with encrypted private keys.

To Reproduce Steps to reproduce the behavior:

  1. Create an encrypted key
  2. add the key to your ~/.gitconfig under user.signingkey
  3. Attempt to commit files using gitu

Expected behavior Use the ssh-agent or ask for the password.

Context (please complete the following information):

  • OS/Distro + Version: ubuntu 24]
  • GitUI Version: gitui 0.26.3 2024-06-02 (95e1d4d)
  • Rust version: 1.81.0

yonas avatar Oct 01 '24 17:10 yonas

Related https://github.com/extrawurst/gitui/pull/2175

yonas avatar Oct 01 '24 17:10 yonas

same problem for me. On gitui 0.26.3

axodentally avatar Nov 24 '24 18:11 axodentally

+1

benyn avatar Nov 24 '24 20:11 benyn

on 0.27.0 in nixos, still having the problem. Adding the keys to the ssh-agent doesn't seem to make things better.

juliadin avatar Nov 10 '25 08:11 juliadin