implement writing gajim keys