If that is true, that is seriously silly on behalf of Vine. Multiple major security flaws: 1. Company source code should only be published to private docker images. 2. You should never store API keys or passwords inside the source code. A better approach is to use environment variables and have the container read those.
Twitter's Vine source code dump
21–24 of 24 posts
Re: Twitter's Vine source code dump
#22If that is true, that is seriously silly on behalf of Vine. Multiple major security flaws: 1. Company source code should only be published to private docker images. 2. You should never store API keys or passwords inside the source code. A better approach is to use environment variables and have the container read those.
I completely disagree with #2. It's incredibly valuable and helpful to be able to use source control to track API key updates. Unlike environment variables, this forces accountability whenever a change to your configuration is made. If you're worried about security, you can always encrypt the individual keys.
Re: Twitter's Vine source code dump
#23If that is true, that is seriously silly on behalf of Vine. Multiple major security flaws: 1. Company source code should only be published to private docker images. 2. You should never store API keys or passwords inside the source code. A better approach is to use environment variables and have the container read those.
#1 only applies to companies wanting to keep their code secret. Companies with all open source code do not need to publish to private repos/images.
Re: Twitter's Vine source code dump
#24Can you please change the title from "Twitter's Vine Source code dump" to something that does not suggest that there is actual source code available?
I don't see any issue with this title. A "source code dump" is usually an act of vandalism, as opposed to a "source code release", or "released as open source". Additionally, there was source code available. It appeared that Vine was/is written in an interpreted language, so by downloading the wwwroot Docker image, the author was capable of reading the entirety of the Vine application code without any weird decompila…