-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Git ssh private key binding(GSoC-21) #1111
base: master
Are you sure you want to change the base?
Commits on Jul 19, 2021
-
The SSHPrivateKey binding will depend on Credential Binding Plugin
Configuration menu - View commit details
-
Copy full SHA for e9c550a - Browse repository at this point
Copy the full SHA e9c550aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4fd5c4c - Browse repository at this point
Copy the full SHA 4fd5c4cView commit details -
Configuration menu - View commit details
-
Copy full SHA for e212567 - Browse repository at this point
Copy the full SHA e212567View commit details -
Configuration menu - View commit details
-
Copy full SHA for 78a47fb - Browse repository at this point
Copy the full SHA 78a47fbView commit details
Commits on Jul 21, 2021
-
Merge remote-tracking branch 'origin/master' into gitSSHPrivateKey
# Conflicts: # src/main/java/jenkins/plugins/git/GitCredentialBindings.java
Configuration menu - View commit details
-
Copy full SHA for 818599a - Browse repository at this point
Copy the full SHA 818599aView commit details -
Adding dependency to support Git SSH binding
Two dependencies are added namely Bouncycastle API Plugin and SSHJ library
Configuration menu - View commit details
-
Copy full SHA for 6eeecee - Browse repository at this point
Copy the full SHA 6eeeceeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2bc3140 - Browse repository at this point
Copy the full SHA 2bc3140View commit details -
Support for OpenSSH key format
This class provides the methods to decrypt a passphrase protected private key in openssh format
Configuration menu - View commit details
-
Copy full SHA for e45ed33 - Browse repository at this point
Copy the full SHA e45ed33View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9030a2c - Browse repository at this point
Copy the full SHA 9030a2cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9312a70 - Browse repository at this point
Copy the full SHA 9312a70View commit details -
Configuration menu - View commit details
-
Copy full SHA for a8f38f3 - Browse repository at this point
Copy the full SHA a8f38f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9e17779 - Browse repository at this point
Copy the full SHA 9e17779View commit details -
Configuration menu - View commit details
-
Copy full SHA for b53385b - Browse repository at this point
Copy the full SHA b53385bView commit details -
Check current node os environment
Use launcher.isUnix method value to check the current node os environment. Add some formatting
Configuration menu - View commit details
-
Copy full SHA for 588c389 - Browse repository at this point
Copy the full SHA 588c389View commit details -
Change to non-static inner class
Removing static keyword to support SSHkeyUtils methods
Configuration menu - View commit details
-
Copy full SHA for d70831c - Browse repository at this point
Copy the full SHA d70831cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 443c0f7 - Browse repository at this point
Copy the full SHA 443c0f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 65624c0 - Browse repository at this point
Copy the full SHA 65624c0View commit details -
Configuration menu - View commit details
-
Copy full SHA for a55e3dd - Browse repository at this point
Copy the full SHA a55e3ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for d38eea0 - Browse repository at this point
Copy the full SHA d38eea0View commit details -
Configuration menu - View commit details
-
Copy full SHA for f57be59 - Browse repository at this point
Copy the full SHA f57be59View commit details -
Configuration menu - View commit details
-
Copy full SHA for df3d33c - Browse repository at this point
Copy the full SHA df3d33cView commit details -
Bind Git SSH environment variable
Return Git SSH environment variables, perform SSH authentication on behalf of the user
Configuration menu - View commit details
-
Copy full SHA for 0996235 - Browse repository at this point
Copy the full SHA 0996235View commit details -
Configuration menu - View commit details
-
Copy full SHA for 47588ae - Browse repository at this point
Copy the full SHA 47588aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7549c54 - Browse repository at this point
Copy the full SHA 7549c54View commit details
Commits on Jul 23, 2021
-
Configuration menu - View commit details
-
Copy full SHA for d1eeb22 - Browse repository at this point
Copy the full SHA d1eeb22View commit details -
Consuming git-client incremental
Using newly updated getSSHExecutable method
Configuration menu - View commit details
-
Copy full SHA for 96c0103 - Browse repository at this point
Copy the full SHA 96c0103View commit details -
This method provides path to ssh executable
Configuration menu - View commit details
-
Copy full SHA for d3ee23a - Browse repository at this point
Copy the full SHA d3ee23aView commit details -
Configuration menu - View commit details
-
Copy full SHA for c218b0b - Browse repository at this point
Copy the full SHA c218b0bView commit details -
Configuration menu - View commit details
-
Copy full SHA for d596240 - Browse repository at this point
Copy the full SHA d596240View commit details -
Store SSH exe path in local variable
Changing method getSSHCmd signature, ssh exe path papmeter added
Configuration menu - View commit details
-
Copy full SHA for 8922ada - Browse repository at this point
Copy the full SHA 8922adaView commit details -
Configuration menu - View commit details
-
Copy full SHA for a44b388 - Browse repository at this point
Copy the full SHA a44b388View commit details -
Configuration menu - View commit details
-
Copy full SHA for a42ac94 - Browse repository at this point
Copy the full SHA a42ac94View commit details -
Replacing private key with passphrase value
Passphrase should be checked, to tell is private key is encrypted or not
Configuration menu - View commit details
-
Copy full SHA for 598eb80 - Browse repository at this point
Copy the full SHA 598eb80View commit details
Commits on Jul 25, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 5c47934 - Browse repository at this point
Copy the full SHA 5c47934View commit details -
Wrapper method for getSSHExePathInWin
The getSSHPath method check the current node's os environment and sets the ssh executable path accordingly.
Configuration menu - View commit details
-
Copy full SHA for 752a94a - Browse repository at this point
Copy the full SHA 752a94aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 035e6c2 - Browse repository at this point
Copy the full SHA 035e6c2View commit details
Commits on Jul 26, 2021
-
Configuration menu - View commit details
-
Copy full SHA for dcba7c9 - Browse repository at this point
Copy the full SHA dcba7c9View commit details
Commits on Jul 31, 2021
-
Configuration menu - View commit details
-
Copy full SHA for fbba6f9 - Browse repository at this point
Copy the full SHA fbba6f9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 69fafe5 - Browse repository at this point
Copy the full SHA 69fafe5View commit details -
Convert private key string to keypair
Using SSHD library to extract KeyPair from private key string
Configuration menu - View commit details
-
Copy full SHA for ee925a7 - Browse repository at this point
Copy the full SHA ee925a7View commit details
Commits on Aug 4, 2021
-
Bumping Jenkins version to 2.289.1
The current Jenkins version required by git plugin is atleast 2.263.1, which implicitly depends on sshd-plugin v2.7.0, making it difficult to support OpenSSH private format due to dependency conflict.
Configuration menu - View commit details
-
Copy full SHA for 4a5e7de - Browse repository at this point
Copy the full SHA 4a5e7deView commit details -
Adding sshd-core dependency to support
git SSH binding Defining sshd-core library explicitly will implicitly bump the version of SSHD-plugin to v3.1.0
Configuration menu - View commit details
-
Copy full SHA for 63680a0 - Browse repository at this point
Copy the full SHA 63680a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c525eb - Browse repository at this point
Copy the full SHA 8c525ebView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4ec3a3d - Browse repository at this point
Copy the full SHA 4ec3a3dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 638989b - Browse repository at this point
Copy the full SHA 638989bView commit details -
Configuration menu - View commit details
-
Copy full SHA for e830aef - Browse repository at this point
Copy the full SHA e830aefView commit details -
Configuration menu - View commit details
-
Copy full SHA for be399fb - Browse repository at this point
Copy the full SHA be399fbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 73b01ba - Browse repository at this point
Copy the full SHA 73b01baView commit details -
Write decrypted openssh formatted private key
The writePrivateKeyOpenSSHFormatted method performs write operation on a decrypted openssh formatted key. The key written in a temp file is openssh formatted. The shaded sshd-plugin dependency is used to carry of private key decryption operation.
Configuration menu - View commit details
-
Copy full SHA for 7ef7820 - Browse repository at this point
Copy the full SHA 7ef7820View commit details -
Configuration menu - View commit details
-
Copy full SHA for b419b4c - Browse repository at this point
Copy the full SHA b419b4cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9bc6d3a - Browse repository at this point
Copy the full SHA 9bc6d3aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 82022ef - Browse repository at this point
Copy the full SHA 82022efView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3f82b61 - Browse repository at this point
Copy the full SHA 3f82b61View commit details
Commits on Aug 6, 2021
-
Merge remote-tracking branch 'origin/gitSSHPrivateKey' into gitSSHPri…
…vateKey # Conflicts: # pom.xml
Configuration menu - View commit details
-
Copy full SHA for 30064ed - Browse repository at this point
Copy the full SHA 30064edView commit details -
Configuration menu - View commit details
-
Copy full SHA for 319442e - Browse repository at this point
Copy the full SHA 319442eView commit details -
Configuration menu - View commit details
-
Copy full SHA for ea86cda - Browse repository at this point
Copy the full SHA ea86cdaView commit details
Commits on Aug 7, 2021
-
Configuration menu - View commit details
-
Copy full SHA for dcc83b3 - Browse repository at this point
Copy the full SHA dcc83b3View commit details
Commits on Aug 11, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 29cdcd7 - Browse repository at this point
Copy the full SHA 29cdcd7View commit details -
Configuration menu - View commit details
-
Copy full SHA for e13d669 - Browse repository at this point
Copy the full SHA e13d669View commit details -
Configuration menu - View commit details
-
Copy full SHA for dc83e1c - Browse repository at this point
Copy the full SHA dc83e1cView commit details -
Discarding shaded sshd-core api imports
Replacing the shaded sshd-core api provided by Jenkins core with sshd-core api provided form SSHD plugin
Configuration menu - View commit details
-
Copy full SHA for 583ee18 - Browse repository at this point
Copy the full SHA 583ee18View commit details -
Configuration menu - View commit details
-
Copy full SHA for cbf6215 - Browse repository at this point
Copy the full SHA cbf6215View commit details -
Configuration menu - View commit details
-
Copy full SHA for 74500c1 - Browse repository at this point
Copy the full SHA 74500c1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1ff2fcb - Browse repository at this point
Copy the full SHA 1ff2fcbView commit details -
Configuration menu - View commit details
-
Copy full SHA for fc81ba3 - Browse repository at this point
Copy the full SHA fc81ba3View commit details -
Configuration menu - View commit details
-
Copy full SHA for c6d9b3b - Browse repository at this point
Copy the full SHA c6d9b3bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 607a5ab - Browse repository at this point
Copy the full SHA 607a5abView commit details -
Adding test resource for ssh binding test cases
The resource added is a zip file which archives the private keys in various encryption algorithms and formats both passphrase protected and not.
Configuration menu - View commit details
-
Copy full SHA for 1662e96 - Browse repository at this point
Copy the full SHA 1662e96View commit details -
Configuration menu - View commit details
-
Copy full SHA for c0d14aa - Browse repository at this point
Copy the full SHA c0d14aaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 99535a8 - Browse repository at this point
Copy the full SHA 99535a8View commit details
Commits on Aug 12, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 85dfeed - Browse repository at this point
Copy the full SHA 85dfeedView commit details
Commits on Aug 13, 2021
-
Using FilePath to provide remoting support
Unlike File, which always implies a file path on the current computer, FilePath represents a file path on a specific agent or the controller.
Configuration menu - View commit details
-
Copy full SHA for d7f3b55 - Browse repository at this point
Copy the full SHA d7f3b55View commit details -
4
Configuration menu - View commit details
-
Copy full SHA for 2efc015 - Browse repository at this point
Copy the full SHA 2efc015View commit details -
Configuration menu - View commit details
-
Copy full SHA for e9d572d - Browse repository at this point
Copy the full SHA e9d572dView commit details -
Configuration menu - View commit details
-
Copy full SHA for be8b2e9 - Browse repository at this point
Copy the full SHA be8b2e9View commit details -
Configuration menu - View commit details
-
Copy full SHA for a98514f - Browse repository at this point
Copy the full SHA a98514fView commit details
Commits on Aug 14, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 649cd85 - Browse repository at this point
Copy the full SHA 649cd85View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1766ec2 - Browse repository at this point
Copy the full SHA 1766ec2View commit details
Commits on Aug 15, 2021
-
Removing default variable bindings for git ssh private key binding
The PRIVATE_KEY and PASSPHRASE variable bindings are removed in this commit since this sensitive information shouldn't be binded to environment variables. Workarounds with these env bindings will potentially be unsafe.
Configuration menu - View commit details
-
Copy full SHA for 74b4f16 - Browse repository at this point
Copy the full SHA 74b4f16View commit details -
Configuration menu - View commit details
-
Copy full SHA for f168ecb - Browse repository at this point
Copy the full SHA f168ecbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 71bd8fb - Browse repository at this point
Copy the full SHA 71bd8fbView commit details -
Configuration menu - View commit details
-
Copy full SHA for b6eebfd - Browse repository at this point
Copy the full SHA b6eebfdView commit details -
Configuration menu - View commit details
-
Copy full SHA for b6eeac2 - Browse repository at this point
Copy the full SHA b6eeac2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 66009a8 - Browse repository at this point
Copy the full SHA 66009a8View commit details
Commits on Aug 17, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 06c8073 - Browse repository at this point
Copy the full SHA 06c8073View commit details -
Configuration menu - View commit details
-
Copy full SHA for 187b399 - Browse repository at this point
Copy the full SHA 187b399View commit details -
Configuration menu - View commit details
-
Copy full SHA for e12419b - Browse repository at this point
Copy the full SHA e12419bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 828cc94 - Browse repository at this point
Copy the full SHA 828cc94View commit details
Commits on Aug 19, 2021
-
Using
ssh
as ssh path in windows environmentThe getSSHExePathInWin(GitClient git) always returns ssh path of controller environment even if running build on an agent.
Configuration menu - View commit details
-
Copy full SHA for dd86551 - Browse repository at this point
Copy the full SHA dd86551View commit details -
Merge branch 'gitSSHPrivateKey' of https://github.com/arpoch/git-plugin…
… into gitSSHPrivateKey
Configuration menu - View commit details
-
Copy full SHA for cdefb57 - Browse repository at this point
Copy the full SHA cdefb57View commit details
Commits on Aug 20, 2021
-
Storing passphrase as a secret
The passphrase value of a private key is stored as secret rather than in plaintext.
Configuration menu - View commit details
-
Copy full SHA for 1ce0079 - Browse repository at this point
Copy the full SHA 1ce0079View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0e5b9fb - Browse repository at this point
Copy the full SHA 0e5b9fbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1354b1f - Browse repository at this point
Copy the full SHA 1354b1fView commit details -
Configuration menu - View commit details
-
Copy full SHA for eefb41d - Browse repository at this point
Copy the full SHA eefb41dView commit details
Commits on Aug 21, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 83171e3 - Browse repository at this point
Copy the full SHA 83171e3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3a238c0 - Browse repository at this point
Copy the full SHA 3a238c0View commit details
Commits on Aug 22, 2021
-
Configuration menu - View commit details
-
Copy full SHA for c63559c - Browse repository at this point
Copy the full SHA c63559cView commit details
Commits on Aug 30, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 4654472 - Browse repository at this point
Copy the full SHA 4654472View commit details
Commits on Sep 17, 2021
-
Configuration menu - View commit details
-
Copy full SHA for b3b2f69 - Browse repository at this point
Copy the full SHA b3b2f69View commit details
Commits on Sep 23, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 8396478 - Browse repository at this point
Copy the full SHA 8396478View commit details
Commits on Sep 26, 2021
-
Configuration menu - View commit details
-
Copy full SHA for b097fb5 - Browse repository at this point
Copy the full SHA b097fb5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a40c33 - Browse repository at this point
Copy the full SHA 0a40c33View commit details
Commits on Oct 25, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 1785381 - Browse repository at this point
Copy the full SHA 1785381View commit details -
Configuration menu - View commit details
-
Copy full SHA for 78651ae - Browse repository at this point
Copy the full SHA 78651aeView commit details
Commits on Nov 2, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 825eda8 - Browse repository at this point
Copy the full SHA 825eda8View commit details
Commits on Jun 22, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 4a5fbdf - Browse repository at this point
Copy the full SHA 4a5fbdfView commit details