lock version for allowed platform & add authorized_keys support