3 ms·
Development and production should not use the same keys! Losing a development laptop should not also lose any important keys. What I do is check in a throwawa
by ars 12y ago
Development and production should not use the same keys!
Losing a development laptop should not also lose any important keys.
What I do is check in a throwaway key into source control, then modify the file with the real key on production and never check it in. Since you never do checkins from production this works well.
- tptacek 12y agoI agree of course, but in practice, the dev/prod distinction is very unreliable, because people will stand up dev servers that run with dev keys, for which a dev key compromise pivots to a data center (or PII) compromise.