Skip to content

Increase URL password length

Mike Detwiler requested to merge detwiler/apk-tools:url-pwdlen into master

We are using JFrog's Artifactory to host our Alpine Linux package repositories. In our Gitlab CI builds, we use the Artifactory REST API to create a temporary Access Token for authentication with the hosted package repository. With the token, we then dynamically generate an entry in /etc/apk/repositories for our hosted repository. The access tokens themselves can be in excess of 800 characters, which causes apk to fail due to the maximum password length of 256. This merge request increases the maximum password length to 1024.

Merge request reports