This issue <https://github.com/gocd/gocd/issues/3698> may be relevant:
someone was using this snippet to encrypt the strings using openssl. It
should be possible to decrypt it with openssl. I'm not too familiar with
the openssl command line, but you'd probably do this:

echo -n 'YOUR-ENCRYPTED-PASS-INPUT' | openssl enc -des-cbc -d -a -iv 0 -K
$(cat /etc/go/cipher)'

- Ketan



On Thu, Aug 5, 2021 at 1:12 PM Roshin Kulakkunnath <roshz...@gmail.com>
wrote:

> HI All
>
> Appreciate if anyone can assist as I am moving some legacy stuff from my
> pipeline which is on Go Version:
> 16.1.0(2855-ada9b36174cc069c860e7fa032cbf2857f135cfb)
>
> The encryption is blocking me to decrypt the config file. Is there a way
> to get the actual value from
>
>  <variable name="KEYSTORE_KEY" secure="true">
> <encryptedValue>blahblah</encryptedValue> </variable> <variable
> name="CREDENTIAL_KEY" secure="true"> <encryptedValue>
> blahblah</encryptedValue> </variable>
>
> Thanks in Advance
> Roshin
>
> --
> You received this message because you are subscribed to the Google Groups
> "go-cd" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to go-cd+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/go-cd/417e82fa-f2f4-42be-900d-a61ebbab2217n%40googlegroups.com
> <https://groups.google.com/d/msgid/go-cd/417e82fa-f2f4-42be-900d-a61ebbab2217n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to go-cd+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/go-cd/CAMUPJd5uH6coSZkOiJ7RrY2U8OVXoi0N0ef_0OuFown4PVNhOQ%40mail.gmail.com.

Reply via email to