error is thrown when trying to decode with invalid firm key