Is there a tool/plugin native in bitbucket server to encrypt the source code?

Bishoy Mushraky July 22, 2019

I have been searching for a while now on a way to encrypt  in bitbucket server. My repo has passwords in some automation code and I'm not allowed to have it there.

So, At the moment I'm using git-crypt and that's working for me until I have hit an issue that I'm not able to have git-crypt in my jenkins pipelines nodes. So, I'm trying to revisit the way I'm encrypting things. Would be very handy to have an encrypt in bitbucket then  decrypt  jenkins with keys or on my local clone.

 

Thanks in advance for any tips!

Bishoy Mushraky

1 answer

1 accepted

0 votes
Answer accepted
Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 26, 2019

Hey Bishoy!

Unfortunately, Bitbucket Server doesn't provide any mechanism for encryption. That's something that would have to be done on the client side and, as you already mentioned, can cause problems when the code has to be shared.

Another user proposed something similar in the past, you can read more on this thread.

Let us know if you need anything else,

Ana

Bishoy Mushraky July 26, 2019

Thanks, Ana! The feature request is closed as it seems.

I have started using Ansible Vault to encrypt only the sections of the files that have passwords before pushing it.

Bishoy

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events