У меня установлен Kubuntu 18.10, и я хочу клонировать частный репозиторий git со своей страницы Azure Devops.
При клонировании git запрашивает у меня имя пользователя и пароль, я задаю свой, затем он выдает мне токен, который мне нужно вставить на страницу https://microsoft.com/devicelogin, но затем клонирование не удается.
Я скачал диспетчер учетных данных и следовал инструкциям здесь , а также установил пакет gnome-keyring
, который, как мне кажется, необходим git Credential Manager (я вижу его в журналах) ). Я также вижу, что gnome-keyring-manager
работает и работает, я могу видеть это с помощью команды top
.
Чего мне не хватает, чтобы клонировать хранилище?
git clone https://XXX.visualstudio.com/DefaultCollection/myproject/_git/myproject --recurse-submodules
Cloning into 'myproject'...
Configuration::loadGitConfiguration
Configuration::ParseGitConfig
alias.lastcommit = log --name-status HEAD^..HEAD
alias.lastdiff = diff HEAD^..HEAD
alias.lg = log --pretty=format:'%C(yellow)%h%Cred%d%Creset - %C(cyan)%an %Creset: %s %Cgreen(%cr)' --decorate --graph --all --abbrev-commit
alias.lg2 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all
color.ui = true
core.editor = vim
credential.canFallBackToInsecureStore = true
credential.helper = !/usr/lib/jvm/java-11-openjdk-amd64/bin/java -Ddebug=true -Djava.net.useSystemProxies=true -jar /home/jepessen/.git/git-credential-manager-2.0.4.jar
user.email = mymail@live.com
user.name = My Name
Program::loadOperationArguments
Configuration::tryGetEntry
Configuration::tryGetEntry
Configuration::tryGetEntry
Configuration::tryGetEntry
Configuration::tryGetEntry
Configuration::tryGetEntry
canFallBackToInsecureStore = true
Program::EnableTraceLogging
Program::get
targetUri = https://XXX.visualstudio.com/
Program::ComponentFactory::createSecureStore
gnome-keyring library loaded, creating a password SCHEMA
Gkr-Message: 15:19:37.315: secret service operation failed: No such interface “org.freedesktop.DBus.Properties” on object at path /org/freedesktop/secrets/collection/login
Could not get default keyring info. GNOME Keyring is not available.
Return code: 6 description: Error communicating with gnome-keyring-daemon
Getting a persistent token store that could be secure
Getting a persistent credential store that could be secure
Program::createAuthentication
detecting authority type
BaseVsoAuthentication::getAuthentication
BaseVsoAuthentication::detectAuthority
detected visualstudio.com, checking AAD vs MSA
server has responded
MSA authority detected
authority is Microsoft Live
BaseVsoAuthentication::getCredentials
SecretStore::getTargetName
Secret::uriToName
target name = git:https://XXX.visualstudio.com
SecretStore::readCredentials
SecretCache::readCredentials
SecretCache::_getTargetName
Secret::uriToName
target name = git:https://XXX.visualstudio.com
BaseSecureStore::readCredentials
BaseVsoAuthentication::refreshCredentials
SecretCache::readToken
SecretCache::_getTargetName
Secret::uriToName
target name = ada:https://XXX.visualstudio.com
SecretCache::readToken
SecretCache::_getTargetName
Secret::uriToName
target name = registry:https://XXX.visualstudio.com
failed to refresh credentials.
VsoMsaAuthentication::InteractiveLogon
AzureAuthority::acquireToken
Unmet requirements for the 'JavaFx' provider:
- Oracle Java SE 7 update 6 or higher, Oracle Java SE 8, OR OpenJDK 8.
- JavaFX or OpenJFX runtime JAR.
Unmet requirements for the 'StandardWidgetToolkit' provider:
- Standard Widget Toolkit Runtime at /home/jepessen/.swt/swt-x86_64.jar
token acquisition failed.
failed to acquire token.
VsoMsaAuthentication::deviceLogon
AzureAuthority::acquireToken
------------------------------------
OAuth 2.0 Device Flow authentication
------------------------------------
To complete the authentication process, please open a web browser and visit the following URI:
https://microsoft.com/devicelogin
When prompted, enter the following code:
SOMECODE
Once authenticated and authorized, execution will continue.
token acquisition succeeded.
token successfully acquired.
BaseVsoAuthentication::storeRefreshToken
SecretCache::writeToken
SecretCache::_getTargetName
Secret::uriToName
target name = ada:https://XXX.visualstudio.com
BaseVsoAuthentication::generatePersonalAccessToken
VsoAzureAuthority::generatePersonalAccessToken
using token to acquire personal access token
VsoAzureAuthority::populateTokenTargetId
VsoAzureAuthority::createConnectionDataRequest
validating token
target identity is 00000000-0000-0000-0000-000000000000
parsed identity service url: https://app.vssps.visualstudio.com/00000000-0000-0000-0000-000000000000/
creating access token scoped to 'vso.code_write' for '00000000-0000-0000-0000-000000000000'
personal access token acquisition succeeded.
SecretStore::writeCredentials
SecretStore::getTargetName
Secret::uriToName
target name = git:https://XXX.visualstudio.com
BaseSecureStore::writeCredential
SecretCache::writeCredentials
SecretCache::_getTargetName
Secret::uriToName
target name = git:https://XXX.visualstudio.com
BaseVsoAuthentication::getCredentials
SecretStore::getTargetName
Secret::uriToName
target name = git:https://XXX.visualstudio.com
SecretStore::readCredentials
SecretCache::readCredentials
SecretCache::_getTargetName
Secret::uriToName
target name = git:https://XXX.visualstudio.com
successfully retrieved stored credentials, updating credential cache
BaseVsoAuthentication::validateCredentials
VsoAzureAuthority::validateCredentials
server returned: 200
credentials found
Configuration::loadGitConfiguration
Configuration::ParseGitConfig
alias.lastcommit = log --name-status HEAD^..HEAD
alias.lastdiff = diff HEAD^..HEAD
alias.lg = log --pretty=format:'%C(yellow)%h%Cred%d%Creset - %C(cyan)%an %Creset: %s %Cgreen(%cr)' --decorate --graph --all --abbrev-commit
alias.lg2 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all
color.ui = true
core.editor = vim
credential.canFallBackToInsecureStore = true
credential.helper = !/usr/lib/jvm/java-11-openjdk-amd64/bin/java -Ddebug=true -Djava.net.useSystemProxies=true -jar /home/jepessen/.git/git-credential-manager-2.0.4.jar
user.email = mymail@live.com
user.name = My Name
Program::loadOperationArguments
Configuration::tryGetEntry
Configuration::tryGetEntry
Configuration::tryGetEntry
Configuration::tryGetEntry
Configuration::tryGetEntry
Configuration::tryGetEntry
canFallBackToInsecureStore = true
Program::EnableTraceLogging
Program::erase
targetUri = https://XXX.visualstudio.com/
Program::ComponentFactory::createSecureStore
gnome-keyring library loaded, creating a password SCHEMA
Gkr-Message: 15:20:32.542: secret service operation failed: No such interface “org.freedesktop.DBus.Properties” on object at path /org/freedesktop/secrets/collection/login
Could not get default keyring info. GNOME Keyring is not available.
Return code: 6 description: Error communicating with gnome-keyring-daemon
Getting a persistent token store that could be secure
Getting a persistent credential store that could be secure
Program::createAuthentication
detecting authority type
BaseVsoAuthentication::getAuthentication
BaseVsoAuthentication::detectAuthority
detected visualstudio.com, checking AAD vs MSA
server has responded
MSA authority detected
authority is Microsoft Live
BaseVsoAuthentication::deleteCredentials
SecretStore::getTargetName
Secret::uriToName
target name = git:https://XXX.visualstudio.com
SecretStore::readCredentials
SecretCache::readCredentials
SecretCache::_getTargetName
Secret::uriToName
target name = git:https://XXX.visualstudio.com
BaseSecureStore::readCredentials
SecretStore::deleteCredentials
SecretStore::getTargetName
Secret::uriToName
target name = git:https://XXX.visualstudio.com
BaseSecureStore::delete
SecretCache::deleteCredentials
SecretCache::_getTargetName
Secret::uriToName
target name = git:https://XXX.visualstudio.com
fatal: Authentication failed for 'https://XXX.visualstudio.com/DefaultCollection/myproject/_git/myproject/'