portaPuTTY bugfix
November 21st, 2005Woo, my first bug!
portaPuTTY only stored the first server key, which is most likely not what you want. The issue turned out to be a one line fix. You can get the latest binaries and source, or both if you’re feeling frisky.
The code portaPuTTY uses to store its info is from the unix port. The unix version writes the keys to a temp file, then renames the temp to sshhostkeys. So far so good… but the windows version of rename won’t overwrite an existing file. So it was failing on that. Added on unlink and voila.
Maybe over the holiday I’ll set up svn or similar for this to track little changes like this.