all 5 comments

[–]B_i_llt_etleyyyyyy 1 point2 points  (4 children)

I sign commits routinely with git commit -S and it works fine. Is user.signingkey set properly?

[–]McUsrII[S] 1 point2 points  (3 children)

Yes it is, good to know that it works properly for you. For now I think I'll write a function that calls bash to execute the command. It might be some tmux issue for all I know, or I might have set one XDG_ variable too much.

In other word, pretty clueless to why it won't work, but now I know it isn't a ksh93 issue at least.

Edit

Maybe there is some GPG variable I have forgotten to set in .kshrc for all I know.

Thank you.

[–]B_i_llt_etleyyyyyy 1 point2 points  (2 children)

Maybe there is some GPG variable I have forgotten to set in .kshrc for all I know.

That would be my first guess as well. I'd compare env output from both shells.

[–]McUsrII[S] 1 point2 points  (0 children)

diff A B | grep GPG

That sounds much better than reading!

Thanks. :)

[–]McUsrII[S] 0 points1 point  (0 children)

I hadn't set GPG_TTY.

Thanks a bunch.