Commit graph

13 commits

Author SHA1 Message Date
ElevenNotes
aa4c1292e3
feat(docker): set port default to 22 if not set (#672)
* feat(docker): set port default to 22 if not set

* fix(go): fmt space issue
2025-11-06 05:37:02 -08:00
Boshi Lian
afd80aa590
fix(docker): enable API version negotiation for Docker client (#607) 2025-06-02 10:24:29 -07:00
Josh Bleecher Snyder
297b8c60e7
extract skel into its own package (#596)
This breaks the dependency of libplugin
on x/crypto, enabling people to use libplugin
without having conflicts over the crypto module.
2025-05-23 12:42:44 -07:00
Boshi Lian
085ba59c58
support cross auth type mapping (#483)
* add testcase

* add fix

* Refactor skelpipe wrappers to separate password and private key handling
2024-11-10 03:01:52 -08:00
Boshi Lian
14ceadb8e8
add skel plugin for code sharing (#473)
* introduce plugin skel to reuse code

* Refactor code to use libplugin.NewSkelPlugin for plugin/kubernetes/main.go
Add YAML Plugin skel.go for plugin/yaml

* Fix code scanning alert no. 6: Incorrect conversion between integer types

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>

* fix gpt

* fjx password handling in SkelPlugin and skelpipeToWrapper

* go fmt

* Refactor Docker plugin to use skelpipe wrapper

* Refactor skel.go to use container username instead of client username

* revert yaml test order

* fix public and password mess up

* Refactor working dir to use skel

* revert deleted file

* Refactor skel.go to remove unused code and simplify MatchConn function

* Refactor skel.go to read userKnownHosts file in KnownHosts function

* remove workingdirbykey from goreleaser

* Refactor workingdir.go to use libplugin.SplitHostPortForSSH for parsing host and port

* Refactor skel.go to remove unused code and simplify MatchConn function

* merge doc into workingdir

---------

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2024-10-24 23:15:26 -07:00
Boshi Lian
a3f69952c0
Refactor code to use subtle.ConstantTimeCompare for secure comparison (#466)
* Refactor code to use subtle.ConstantTimeCompare for secure comparison

* Refactor code to use subtle.ConstantTimeCompare for secure comparison
2024-10-21 02:46:19 -07:00
Boshi Lian
304dd72a53
update docker sdk to v25 (#455)
* update docker sdk to latest

* Refactor Docker plugin to use latest Docker SDK
2024-10-18 02:34:27 -07:00
Boshi Lian
5a724c6dd3
fix docker plugin encoding (#278) 2023-12-12 11:54:33 -08:00
Boshi Lian
31738b95b6
add support network hints (#138)
* add support network hints

* add test for multiple network
2023-02-11 01:27:51 -08:00
Boshi Lian
27b1babbc0 smaller image by keeping k8s and dir plug only 2022-10-25 00:35:45 +00:00
Boshi Lian
4d2f795701 fix empty password bug 2022-07-18 22:28:51 +00:00
Boshi Lian
56844d0295 add missing docker e2e test 2022-07-13 23:24:05 +00:00
Boshi Lian
fdc6691d75 introduce first docker plugin 2022-07-13 21:50:38 +00:00