Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecryptCredentials ¶
func DecryptCredentials(credentials *[]xml.Credential, secret []byte) ([]xml.Credential, error)
This is some next level reverse engineering. Kudos to http://xn--thibaud-dya.fr/jenkins_credentials.html
func DecryptHudsonSecret ¶
Decrypts hudson.util.Secret using the master.key 1. master.key is hashed and trimmed to 16 bytes 2. master key is used to decrypt hudson.util.Secret with AES-128-ECB 3. decrypted secret is trimmed to 16 bytes 4. secret is returned, later to be used for decrypting Jenkins credentials with AES-128-ECB
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.