After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 735873 - Provide API for reliably calling ssh programs
Provide API for reliably calling ssh programs
Status: RESOLVED FIXED
Product: gcr
Classification: Core
Component: General
unspecified
Other Linux
: Normal normal
: ---
Assigned To: GNOME keyring maintainer(s)
GNOME keyring maintainer(s)
Depends on:
Blocks: 641082 705225 775981
 
 
Reported: 2014-09-02 09:10 UTC by Stef Walter
Modified: 2019-02-22 11:58 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gcr: Implement GcrSshAskpass API (19.19 KB, patch)
2014-09-02 09:17 UTC, Stef Walter
none Details | Review
egg: Move mock-interaction.[ch] to egg/ directory (3.73 KB, patch)
2014-09-03 09:16 UTC, Stef Walter
committed Details | Review
gcr: Implement GcrSshAskpass API (25.44 KB, patch)
2014-09-03 09:16 UTC, Stef Walter
none Details | Review
gcr: Implement GcrSshAskpass API (26.55 KB, patch)
2018-02-26 09:28 UTC, Daiki Ueno
committed Details | Review

Description Stef Walter 2014-09-02 09:10:04 UTC
SSH programs have an awkward way of prompting for passwords via an SSH_ASKPASS environment variable (along with a missing tty). We should provide a nice simple wrapper API for doing this.
Comment 1 Stef Walter 2014-09-02 09:17:55 UTC
Created attachment 285123 [details] [review]
gcr: Implement GcrSshAskpass API

This allows calling ssh programs like ssh-add or ssh itself, and
handling the password prompts.
Comment 2 Stef Walter 2014-09-03 09:16:12 UTC
Created attachment 285236 [details] [review]
egg: Move mock-interaction.[ch] to egg/ directory

Since we want to use this from the gcr/ code
Comment 3 Stef Walter 2014-09-03 09:16:35 UTC
Created attachment 285237 [details] [review]
gcr: Implement GcrSshAskpass API

This allows calling ssh programs like ssh-add or ssh itself, and
handling the password prompts.
Comment 4 Stef Walter 2016-12-12 12:57:12 UTC
Work in progress branch here:

https://git.gnome.org/browse/gcr/log/?h=ssh-askpass
Comment 5 Daiki Ueno 2018-02-26 09:28:57 UTC
Created attachment 368923 [details] [review]
gcr: Implement GcrSshAskpass API

This allows calling ssh programs like ssh-add or ssh itself, and
handling the password prompts.
Comment 6 Daiki Ueno 2018-03-02 13:46:49 UTC
Attachment 285236 [details] pushed as 3548ba1 - egg: Move mock-interaction.[ch] to egg/ directory
Attachment 368923 [details] pushed as 661767a - gcr: Implement GcrSshAskpass API