heroku/heroku — pull request #242 by brandur (2012-02-24 03:02:02+00:00)
Title: Truncate old API keys to 40 characters

Hey guys, wanted to get your opinion on this change to get old style 80 character API keys truncated down to the modern 40 character format. I noticed that you were already use `read_credentials` to run the legacy credentials to netrc migration, so I added the truncation code there as well. Let me know if you think that was the right decision.

We'll soon be pushing a fix through to Core that will cause it to disregard anything but the first 40 characters of API keys used during authentication. Obviously this patch will need to wait until after that goes live.

Thanks!