Skip to content
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

option 1 - encrypt only the value if key is an empty string #3

Closed
wants to merge 1 commit into from
Closed

option 1 - encrypt only the value if key is an empty string #3

wants to merge 1 commit into from

Conversation

kaizhu256
Copy link

this first option is simple and only modifies one line in your code to change the behavior if key is an empty string

$ ## example usage with empty key string
$ travis-encrypt -r kaizhu256/utility2 -k "" -v "heroku_api_key_secret"
# undefined
+UOJknUje0te1+54BFtDQi+1jFBTDfFI7qYSV+tcDMkCeQJ7K/lh4y45c8w+I/OE0BL7eyL1MowiMf5oQnSlDg==

…t -r kaizhu256/utility2 -k "" -v "heroku_api_key_secret"
@kaizhu256 kaizhu256 changed the title encrypt only the value if key is an empty string option 1 - encrypt only the value if key is an empty string May 26, 2014
@kaizhu256 kaizhu256 closed this May 27, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant