Commit graph

16 commits

Author SHA1 Message Date
Boshi Lian
f56c4b67e5
feat: Add username-router plugin for SSHPiper to route connections based on username (#599)
* feat: Add username-router plugin for SSHPiper to route connections based on username

* feat: Add username-router plugin to GoReleaser configuration
2025-05-25 04:20:21 -07:00
Boshi Lian
ca311e15cd
refactor: Revise Dockerfile - Remove entrypoint.sh (#598)
* chore: Formatting

* chore: Formatting (fix indent)

* refactor: Remove entrypoint

* chore: Remove `entrypoint.sh` from `.goreleaser.yaml`

* tests: Replace `entrypoint.sh` script usage in `e2eentry.sh`

* Set default plugin argument from environment variable in main function and update Dockerfile to remove CMD instruction

* Add user and group setup for testing in Dockerfile and update e2e entry script

* Update cmd/sshpiperd/main.go

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update cmd/sshpiperd/main.go

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Remove test user and group creation from Dockerfile and move it to e2e entry script; update plugin argument handling in main function

* Update Dockerfile

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Skip empty plugin directory entries in main function

---------

Co-authored-by: Brennan Kinney <5098581+polarathene@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-05-25 02:11:04 -07:00
Boshi Lian
e1094c49b8
fix: .goreleaser.yaml - Enable Darwin support for multiple build configurations (#583) 2025-05-08 12:23:03 -07:00
Boshi Lian
5a2aeeea1f
chore: update .goreleaser.yaml configuration for versioning and formats (#549) 2025-03-20 01:34:13 -07:00
Boshi Lian
23e18f4f7c
merge totp to workingdir (#476)
* merge totp to workingdir

* Refactor .goreleaser.yaml to remove plugin_totp build configuration
2024-10-28 01:09:28 -07: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
c760e1f326
Add new plugins for working directory by key and TOTP authentication (#348)
* Add new plugins for working directory by key and TOTP authentication

* Add GoReleaser workflow to test.yml
2024-03-24 02:40:46 -07:00
Boshi Lian
257dd494a8
add v to docker image (#221) 2023-09-10 00:58:04 -07:00
Boshi Lian
d2b002000e
add windows support (#193)
* add windows support

* build for win

* fix win build
2023-08-16 17:35:03 -07:00
Boshi Lian
383807a600 fix snap upload err 2023-08-15 07:20:40 +00:00
Boshi Lian
e5b7eece9d add channel 2023-08-13 14:57:50 +00:00
Boshi Lian
502249d275
add config for snap (#191)
* add config for snap

* place holder

* fix build

* fit 7.2

* fix lint

* no empty
2023-08-13 07:07:28 -07:00
Boshi Lian
f5b9f7233f
add snap support (#189)
* embed keygen

* add snap

* add generate log
2023-08-11 06:25:58 -07:00
Boshi Lian
02f737de4b fix docker 2023-08-02 10:36:15 +00:00
Boshi Lian
02972e622f fix go releaser 2023-08-02 09:59:32 +00:00
Boshi Lian
fefbb0ec99
init goreleaser (#169)
* init goreleaser

add dockerfile

add fetch tag

set next to snapshot

remove generate

skip val

add auto ver

revert ver

revert ver

force tag

* self tag

* self tag

* always tag

* change perm

* final
2023-08-02 02:40:04 -07:00