Commit graph

49 commits

Author SHA1 Message Date
Joshua Piper
daac796c91 Merge pull request #5 from h1dden-da3m0n/chore/update-alpine
feat(deps): update alpine base image
2021-08-12 12:01:29 +01:00
K3rnelPan1c
0b2d66da23 chore: update alpine base image from 3.11 to 3.14.1 2021-08-11 23:25:59 +02:00
Joshua Piper
29021e4048 docs: Update tag information. 2021-08-02 22:03:17 +01:00
Joshua Piper
f63e2c405d Merge pull request #3 from Burnett01/feat/support-key-with-passphrase
feat: Add support for SSH keys with passphrases.
2021-08-02 18:43:25 +01:00
Steven Agyekum
babc7ad0c2 mention new agent-askpass and agent-add behavior 2021-08-02 19:36:36 +02:00
Steven Agyekum
2b8e763f59 correct old typo 2021-08-02 19:18:51 +02:00
Steven Agyekum
eb3ddd767e add ssh pass ability to agent-start
* invokes agent-askpass when a passphrase protected key should be added via ssh-add
2021-08-02 19:16:39 +02:00
Steven Agyekum
d0cc021e84 add ssh-askpass(1) program 2021-08-02 19:14:48 +02:00
Steven Agyekum
a3710d5d3e simplify perms handling 2021-08-02 19:14:10 +02:00
JoshPiper
4b9899c3a0 Create LICENSE 2020-03-18 16:16:38 +00:00
JoshPiper
66d951b0e1 Create README.md 2020-01-03 21:20:58 +00:00
John Internet
d9fbddef5e Add arguments to add and autostart. 2020-01-03 15:41:34 +00:00
John Internet
7e8e10f130 Don't allow agent reloads, if it's running already. 2020-01-02 23:08:35 +00:00
John Internet
6cd1d3e4bd That's meant to just be an id. 2020-01-02 22:48:55 +00:00
John Internet
73618b6bfb Add default paths. Shortern full path. 2020-01-02 22:38:02 +00:00
John Internet
fa30c8125a Remove the files after we've read them. 2020-01-02 22:28:40 +00:00
John Internet
e09a929e60 Add path support, to allow multiple agents to run (ie gitlab) 2020-01-02 22:28:07 +00:00
John Internet
d8263c4260 Cat the agent ID? 2020-01-02 22:08:48 +00:00
John Internet
29ed9db523 Redirect ssh-add output. 2020-01-02 21:57:16 +00:00
John Internet
dd58c9fa20 Remove line endings, since gitlab seems to mangle them. 2020-01-02 21:50:10 +00:00
John Internet
b6a8f25609 Add some debug 2020-01-02 21:38:03 +00:00
John Internet
17bbc35df4 Add an autostart, for autoloading from the "ssh_private_key" env var. 2020-01-02 21:02:22 +00:00
John Internet
c9f5dd48ad Don't echo out. 2020-01-02 20:53:50 +00:00
John Internet
162b6de809 Add a fucking comment. 2020-01-02 20:53:37 +00:00
John Internet
505578365f cat. not echo. fuck sake.
source the agent start.
2020-01-02 20:52:12 +00:00
John Internet
bbf699c73b Split that to be easier to read. Fix an additional newline. 2020-01-02 20:48:04 +00:00
John Internet
258e2fe50d Why the fuck does docker make me do this? 2020-01-02 20:47:00 +00:00
John Internet
52c97f68f8 Remove c. returns 2020-01-02 19:17:45 +00:00
John Internet
d2b9818bec clean up those. 2020-01-02 17:39:55 +00:00
John Internet
d331a23e2d Read stdin and pass to ssh agent. 2020-01-02 17:26:36 +00:00
John Internet
d9d0f73fda Line endings fix. 2020-01-02 17:06:16 +00:00
John Internet
c7327aed5b Move that around a bit. 2020-01-02 16:30:47 +00:00
John Internet
55957604fb Clear the hosts file before use. 2020-01-02 16:29:47 +00:00
John Internet
d13aa57813 Remove that comment. 2020-01-02 16:29:00 +00:00
John Internet
7c0a4562df Notify if it's already running. 2020-01-02 16:28:48 +00:00
John Internet
9660fcb269 Make sure permissions are set. 2020-01-02 16:00:19 +00:00
John Internet
9f23357b59 Copy the executables in two layers, not 5.
chmod with grep.
2020-01-02 15:57:38 +00:00
John Internet
8a8eb3a7f3 Remove .sh ext 2020-01-02 15:57:06 +00:00
John Internet
539d248dc2 Add agent stop. 2020-01-02 14:59:58 +00:00
John Internet
014b3ffccb Fully remove the ca certs, not required. 2020-01-02 14:37:57 +00:00
John Internet
cfa21ae7a4 Fixed bin/bin 2020-01-02 14:32:36 +00:00
JoshPiper
5a8e0148aa Update Dockerfile 2020-01-02 14:26:07 +00:00
JoshPiper
1228d21283 Update Dockerfile 2020-01-02 13:56:37 +00:00
JoshPiper
b79ca6ec6b Update Dockerfile 2020-01-02 13:11:11 +00:00
JoshPiper
bbac77b3df Remove the extension? 2020-01-02 13:04:19 +00:00
JoshPiper
e859f6f655 Update Dockerfile 2020-01-02 12:58:28 +00:00
JoshPiper
8d2928e3f8 Update Dockerfile 2020-01-02 12:43:08 +00:00
JoshPiper
4b1ab34958 Make sure the ssh dir exists. 2020-01-02 12:23:40 +00:00
JoshPiper
8e3c58b325 Create Dockerfile 2020-01-02 12:03:53 +00:00