Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
`travis encrypt` too short #100
I have a 194 character environment variable, but when I try to do a travis encrypt, i get
i'm not sure why there is a size restriction, or how big it is (do i need to do a binary search?), but the fact is that its just too small
compare heroku which allows 16kb for environment variable space, and they have no problem with 194 characters.
You're right, we should allow this. Unfortunately, when secure environment variables were implemented, only public key encryption was used. That is what limits the character size currently, which is in turn tied to the bits in the keys.
For the time being, encrypting files would be the recommended way of handling larger values or configurations. Sorry!
Unfortunately, the size limit is of technical nature and not easy for us to fix in place.
However, we do have two alternative solutions now:
Maybe we should point to those in the error message.