Giter VIP home page Giter VIP logo

jenkins-credentials-decryptor's Introduction

jenkins-credentials-decryptor's People

Contributors

alvaro-campesino avatar graygnuorg avatar hoto avatar mikopet avatar rbjorklin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

jenkins-credentials-decryptor's Issues

secretBytes is not correctly decrypted

It looks like most secrets are encrypted by the Secret class. This however does not seem to be the case with SecretBytes which has it's own implementation. This seems to invalidate the assumption made here which makes the code take the wrong branch (else). Forcing the use of decryptNewFormatCredentials unfortunately doesn't fix the issue.

feature - JSON output option

when migrating Jenkins, it would be better to let this tool optionally output in JSON format. So that we can automate the following process easier with other tools.

we have been requested to use Ansible vault to source control the Jenkins Credentials. But doing several dozens of them one by one is too tedious.

Decrypted hudson secret does not contain expected checksum.

Hi there
I was trying to decrypt credentials from a Jenkins version 2.190.1. Then it went error with message:
`
2023/03/04 17:19:17 Error. Decrypted hudson secret does not contain expected checksum.
Expected checksum keyword:
::::MAGIC::::
Decrypted secret:

panic: Error. Decrypted hudson secret does not contain expected checksum.
Expected checksum keyword:
::::MAGIC::::
Decrypted secret:

goroutine 1 [running]:
log.Panic(0xc00003ff68, 0x1, 0x1)
/opt/hostedtoolcache/go/1.14.10/x64/src/log/log.go:351 +0xac
main.check(...)
/home/runner/work/jenkins-credentials-decryptor/jenkins-credentials-decryptor/cmd/jenkins-credentials-decryptor/main.go:38
main.main()
/home/runner/work/jenkins-credentials-decryptor/jenkins-credentials-decryptor/cmd/jenkins-credentials-decryptor/main.go:23 +0x23e
`
I also tried other tools to decrypt it. Every tool says it cant find ":::MAGIC:::".

Request: Add Encryptor

We are using LDAP binding. We need to include the binding username and encrypted passwords in Jenkins config.xml file. We need to be able to the ability to generate the encrypted password in the case when the binding password gets updated. Thanks in advance.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.