Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
127 commits
Select commit Hold shift + click to select a range
bc0b2f6
feat: add SSH proxy server support
dcoric Sep 12, 2025
2bcb475
refactor: convert SSH files from JavaScript to TypeScript
dcoric Sep 12, 2025
0b38aee
feat: update SSH server to enhance client handling and logging
dcoric Sep 15, 2025
af69d45
Merge branch 'main' into denis-coric/ssh
dcoric Sep 15, 2025
8df000a
fix: enhance SSH server tests and client handling
dcoric Sep 15, 2025
719103a
feat: add findUserBySSHKey function to user database operations
dcoric Sep 15, 2025
2fd1703
refactor: enhance SSH server keepalive functionality and error handling
dcoric Sep 17, 2025
18b52ab
feat: implement SSH key retention feature for Git Proxy
dcoric Sep 17, 2025
91b58eb
feat: add SSH configuration and enhance server command handling
dcoric Sep 19, 2025
b2e7557
chore: update .gitignore to exclude Claude directory
dcoric Sep 19, 2025
7e3553c
fix: ensure SSH enabled configuration is a boolean and improve error …
dcoric Sep 19, 2025
2d56a76
Merge remote-tracking branch 'finos/main' into denis-coric/ssh-flow
dcoric Sep 25, 2025
61e6a0b
fix: fixes lint and refreshed package-lock.json
dcoric Sep 25, 2025
27b190b
Merge remote-tracking branch 'finos/main' into denis-coric/ssh-flow
dcoric Oct 3, 2025
d39e32e
fix: implement SSH pack data capture for security scanning
dcoric Oct 3, 2025
6192ee9
fix: adds test SSH keys to .gitignore
dcoric Oct 6, 2025
1f94f95
test: enhance SSHServer tests for git-receive-pack handling
dcoric Oct 6, 2025
3150f5d
feat: enhance configuration for SSH and git operations
dcoric Oct 7, 2025
2cc7553
feat: add comprehensive performance tests for HTTP/HTTPS and SSH prot…
dcoric Oct 9, 2025
107bac1
Merge branch 'main' into denis-coric/ssh-flow
dcoric Oct 9, 2025
8698ad1
Merge remote-tracking branch 'finos/main' into denis-coric/ssh-flow
dcoric Oct 13, 2025
cd47fb8
refactor: rename variables in performance tests for clarity
dcoric Oct 13, 2025
b54952d
Merge branch 'denis-coric/ssh-flow' of https://github.com/G-Research/…
jescalada Nov 8, 2025
b8ba792
test: fix flaky ssh performance test
jescalada Nov 8, 2025
f238201
chore: fix config/env import
jescalada Nov 9, 2025
bf920f8
test: remove unused create-user CLI tests
jescalada Nov 9, 2025
42b2b6e
chore: add constants for file size and replace throughout app
jescalada Nov 9, 2025
95f220c
feat: improve public key validation in /:username/ssh-keys
jescalada Nov 11, 2025
5d2930b
chore: add missing constants to ssh tests
jescalada Nov 11, 2025
e9af0aa
chore: remove redundant public key check
jescalada Nov 11, 2025
1ccae5f
fix: add validation for private key file before SSH server init
jescalada Nov 11, 2025
7a6b7a7
chore: improve 401 error messages and normalize GitProxy spelling
jescalada Nov 12, 2025
3962e7d
refactor: simplify captureSSHKey action, improve error handling
jescalada Nov 13, 2025
f9e5e9d
feat: enforce SSH key uniqueness to prevent duplicate keys across users
fabiovincenzi Nov 13, 2025
d5920a2
fix: ensure proper cleanup of SSH key buffers in captureSSHKey
fabiovincenzi Nov 13, 2025
9518fcb
Merge branches 'denis-coric/ssh-flow' and 'denis-coric/ssh-flow' of h…
jescalada Nov 14, 2025
980c896
chore: adjust failing test asserts
jescalada Nov 14, 2025
2fe2548
chore: simplify SSHKeyManager
jescalada Nov 14, 2025
f1b4ddb
refactor: simplify pullRemote and replace sync fs functions with fs.p…
jescalada Nov 14, 2025
631e635
chore: simplify error handling and fix failing tests
jescalada Nov 14, 2025
367ef88
feat: add csrf-token endpoint and CLI utils
jescalada Nov 14, 2025
9302c5d
fix: cli CSRF protection and session cookie management
jescalada Nov 14, 2025
39c0ee7
test: fix failing CLI tests and improve getCliPostRequestConfig/logou…
jescalada Nov 17, 2025
51a4a35
refactor(ssh): add PktLineParser and base function to eliminate code …
fabiovincenzi Nov 20, 2025
f6fb9eb
feat(ssh): implement server-side SSH agent forwarding with LazyAgent …
fabiovincenzi Nov 20, 2025
61b3595
feat(ssh): add SSH helper functions for connection setup and validation
fabiovincenzi Nov 20, 2025
3e0e5c0
refactor(ssh): simplify server.ts and pullRemote using helper functions
fabiovincenzi Nov 20, 2025
4a2b273
docs: add SSH proxy architecture documentation
fabiovincenzi Nov 20, 2025
0f3d3b8
fix(ssh): correct ClientWithUser to extend ssh2.Connection instead of…
fabiovincenzi Nov 20, 2025
39be87e
feat: add dependencies for SSH key management
fabiovincenzi Oct 24, 2025
dbef641
feat(db): add PublicKeyRecord type for SSH key management
fabiovincenzi Nov 6, 2025
9545ac2
feat(db): implement SSH key management for File database
fabiovincenzi Nov 6, 2025
24d499c
feat(db): implement SSH key management for MongoDB
fabiovincenzi Nov 6, 2025
df603ef
feat(db): update database wrapper with correct SSH key types
fabiovincenzi Nov 6, 2025
7e5d6d9
feat(api): add SSH key management endpoints
fabiovincenzi Nov 6, 2025
59aef6e
feat(ui): add SSH service for API calls
fabiovincenzi Nov 6, 2025
ebfff2d
feat(ui): add SSH key management UI and clone tabs
fabiovincenzi Nov 6, 2025
0570c4c
feat(cli): update SSH key deletion to use fingerprint
fabiovincenzi Nov 6, 2025
e5da79c
chore: add SSH key fingerprint API and UI updates
fabiovincenzi Nov 20, 2025
ab0bdbe
refactor(ssh): remove explicit SSH algorithm configuration
fabiovincenzi Nov 26, 2025
b72d222
fix(ssh): use existing packet line parser
fabiovincenzi Nov 26, 2025
55d06ab
feat(ssh): improve agent forwarding error message and make it configu…
fabiovincenzi Nov 26, 2025
f6281d6
fix(ssh): use startsWith instead of includes for git-receive-pack det…
fabiovincenzi Nov 26, 2025
5e3e13e
feat(ssh): add SSH host key verification to prevent MitM attacks
fabiovincenzi Nov 26, 2025
cb99e2c
feat(api): add SSH config endpoint for UI
fabiovincenzi Dec 3, 2025
345d333
refactor(proxy): extract HTTPS clone logic using Strategy pattern
fabiovincenzi Dec 3, 2025
992fdae
feat(ssh): implement SSH agent forwarding for repository cloning
fabiovincenzi Dec 3, 2025
7e652d0
refactor(ssh): extract common SSH command execution logic
fabiovincenzi Dec 3, 2025
8936225
fix(ui): correct SSH URL generation in Code button
fabiovincenzi Dec 3, 2025
ae8ef8a
chore: merge upstream main from finos/git-proxy
fabiovincenzi Dec 3, 2025
10b949d
feat(ui): restore SSH key management in UserProfile
fabiovincenzi Dec 3, 2025
a128cdd
feat(ui): include SSH agent forwarding flag in clone command
fabiovincenzi Dec 3, 2025
0b53906
refactor(ssh): remove proxyUrl dependency by parsing hostname from pa…
fabiovincenzi Dec 3, 2025
863f0ab
chore: add debug logs
jescalada Dec 15, 2025
042fe47
refactor(ssh): remove SSH Key Retention system
fabiovincenzi Dec 16, 2025
8a7f914
docs(ssh): remove SSH Key Retention documentation
fabiovincenzi Dec 16, 2025
4eb234b
fix(config): remove obsolete ssh.clone.serviceToken
fabiovincenzi Dec 16, 2025
092f994
docs(config): improve SSH schema descriptions
fabiovincenzi Dec 16, 2025
095d2a2
docs(readme): clarify SSH agent forwarding
fabiovincenzi Dec 16, 2025
649625e
refactor(ssh): remove TODO in server initialization
fabiovincenzi Dec 16, 2025
c7f1f75
improve(ssh): enhance agent forwarding error message
fabiovincenzi Dec 16, 2025
222ba86
feat(ssh): add auto-generated host key management
fabiovincenzi Dec 16, 2025
77aeeba
improve(ssh): add detailed GitHub auth error messages
fabiovincenzi Dec 16, 2025
7b0ba90
fix(deps): add missing ssh2 dependency
fabiovincenzi Dec 16, 2025
c07d5cd
test(ssh): update tests for agent forwarding
fabiovincenzi Dec 16, 2025
c10047e
fix(deps): correct exports conditions order for Vite 7
fabiovincenzi Dec 16, 2025
a656040
docs: remove duplicate SSH.md documentation
fabiovincenzi Dec 16, 2025
5114b93
docs: optimize and improve SSH_ARCHITECTURE.md
fabiovincenzi Dec 16, 2025
9fff6b7
docs: fix obsolete SSH information in ARCHITECTURE.md
fabiovincenzi Dec 16, 2025
7bf20b6
fix(ssh): include ssh-agent startup in error message
fabiovincenzi Dec 16, 2025
a4df01c
Merge upstream/main: integrate latest changes and fix singleBranch
fabiovincenzi Dec 16, 2025
7062809
docs: fix processor chain count in README (17 -> 16)
fabiovincenzi Dec 16, 2025
2df3916
fix(config): remove personal test repositories from config
fabiovincenzi Dec 16, 2025
db4044a
refactor(config): remove obsolete getProxyUrl and getSSHProxyUrl func…
fabiovincenzi Dec 16, 2025
06f5052
refactor(ssh): remove unnecessary type cast for findUserBySSHKey
fabiovincenzi Dec 17, 2025
731ed35
refactor(routes): remove duplicate JavaScript route files
fabiovincenzi Dec 17, 2025
1b73bb3
security: remove SSH private keys from repository
fabiovincenzi Dec 17, 2025
bfed68a
build: add @types/ssh2 to fix TypeScript compilation errors
fabiovincenzi Dec 17, 2025
7662e6a
security: fix CodeQL command injection and URL sanitization issues
fabiovincenzi Dec 17, 2025
4230bc5
refactor(test): convert remaining test files from JavaScript to TypeS…
fabiovincenzi Dec 18, 2025
0ff683e
fix(ssh): comprehensive security enhancements and validation improvem…
fabiovincenzi Dec 18, 2025
e3e60da
Update src/proxy/ssh/AgentForwarding.ts
fabiovincenzi Dec 18, 2025
3ad0105
fix(ssh): remove password auth and add error for missing SSH identities
fabiovincenzi Dec 18, 2025
4cf238e
chore: merge changes
fabiovincenzi Dec 18, 2025
0d2e4e1
docs(ssh): emphasize .git requirement in repository URLs
fabiovincenzi Dec 18, 2025
07f15ef
Update src/proxy/ssh/server.ts
fabiovincenzi Dec 18, 2025
62c93e2
Merge branch 'ssh-agent-on-pr987' of https://github.com/fabiovincenzi…
fabiovincenzi Dec 18, 2025
5ccd921
fix(ssh): use default dual-stack binding for IPv4/IPv6 support
fabiovincenzi Dec 18, 2025
67c1016
fix(ssh): use default dual-stack binding for IPv4/IPv6 support
fabiovincenzi Dec 18, 2025
c1d92b5
Merge branch 'ssh-agent-on-pr987' of https://github.com/fabiovincenzi…
fabiovincenzi Dec 18, 2025
a648e84
test: fix User constructor calls and SSH agent forwarding mock
fabiovincenzi Dec 18, 2025
acc66d0
fix: correct SSH fingerprint verification and refactor pullRemote tests
fabiovincenzi Dec 19, 2025
bb17668
test: increase memory leak threshold for flaky performance test
fabiovincenzi Dec 19, 2025
5fed1de
refactor(cli): make ssh-key testable - export functions and add main(…
fabiovincenzi Dec 29, 2025
7fd6c48
test(api): add SSH key management endpoints tests
fabiovincenzi Dec 29, 2025
272a1c7
test(db): add SSH key database operations tests
fabiovincenzi Dec 29, 2025
0dfcc75
test(ssh): expand sshHelpers coverage
fabiovincenzi Dec 29, 2025
d9606ae
test(cli): add ssh-key CLI tests
fabiovincenzi Dec 29, 2025
aa42962
test: add gitprotocol tests
fabiovincenzi Dec 29, 2025
5223dc5
test: add tests for ssh agent implementation
fabiovincenzi Dec 29, 2025
27314f8
refactor(ssh): extract SSH helpers and expand pullRemote tests
fabiovincenzi Dec 29, 2025
29647a0
test(ssh): add host key verification tests
fabiovincenzi Dec 29, 2025
239f7a2
Merge branch 'main' into ssh-agent-on-pr987
fabiovincenzi Dec 29, 2025
3fe3545
refactor: remove import meta
fabiovincenzi Dec 29, 2025
ed4c2a6
Merge branch 'ssh-agent-on-pr987' of https://github.com/fabiovincenzi…
fabiovincenzi Dec 29, 2025
5de929d
test: add test for server.ts
fabiovincenzi Dec 29, 2025
c2cd33e
ci: allow LicenseRef-scancode-dco-1.1 license in dependency review
fabiovincenzi Dec 29, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/dependency-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ jobs:
with:
comment-summary-in-pr: always
fail-on-severity: high
allow-licenses: MIT, MIT-0, Apache-2.0, BSD-3-Clause, BSD-3-Clause-Clear, ISC, BSD-2-Clause, Unlicense, CC0-1.0, 0BSD, X11, MPL-2.0, MPL-1.0, MPL-1.1, MPL-2.0, OFL-1.1, Zlib, BlueOak-1.0.0
allow-licenses: MIT, MIT-0, Apache-2.0, BSD-3-Clause, BSD-3-Clause-Clear, ISC, BSD-2-Clause, Unlicense, CC0-1.0, 0BSD, X11, MPL-2.0, MPL-1.0, MPL-1.1, MPL-2.0, OFL-1.1, Zlib, BlueOak-1.0.0, LicenseRef-scancode-dco-1.1
fail-on-scopes: development, runtime
allow-dependencies-licenses: 'pkg:npm/caniuse-lite'
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -270,8 +270,14 @@ website/.docusaurus
# Jetbrains IDE
.idea

# Test SSH keys (generated during tests)
test/keys/
test/.ssh/

# VS COde IDE
.vscode/settings.json

# Generated from testing
/test/fixtures/test-package/package-lock.json
.ssh/

1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v20
Loading
Loading