calculate aws key fingerprints the same way aws does