Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: OpenSSH popup for auth which is deprecated #839

Open
NotAF0e opened this issue Jan 15, 2025 · 3 comments
Open

[Bug]: OpenSSH popup for auth which is deprecated #839

NotAF0e opened this issue Jan 15, 2025 · 3 comments
Labels
bug Something isn't working

Comments

@NotAF0e
Copy link

NotAF0e commented Jan 15, 2025

Describe the bug

Im on the flatpak on the newest version of the arch kernel, I have github-cli installed which might be what is causing issues here. I enter my username and password in the OpenSSH popup and get this message:
Screenshot From 2025-01-15 09-10-47

Relevant errors (if available) from notifications or console (CTRL+SHIFT+I)

No response

Steps to reproduce

Be on my platform and use the Git: Commit-and-sync command

Expected Behavior

Signing in and committing changes

Addition context

No response

Operating system

Linux

Installation Method

Flatpak

Plugin version

2.31.1

@NotAF0e NotAF0e added the bug Something isn't working label Jan 15, 2025
@Vinzent03
Copy link
Owner

As the pop says, you can't use username and password for github auth. Instead, you should create a personal access token as stated in the mentioned github doc. Could you share a screenshot of that OpenSSH popup?
Seems like your git credential helper is set to the github cli. Could you verify from a terminal that /usr/bin/gh exists? If it does, then Obsidian can't run it because of the flatpak sandbox. Please try another installing method (Snap probably has the same issue).

@NotAF0e
Copy link
Author

NotAF0e commented Jan 16, 2025

Thanks! I already had a GITHUB_TOKEN setup in my .bashrc. If its a problem with the flatpak sandbox I will just give obsidian access to files in the /usr/bin/gh with flatseal and see if it fixes it

Edit: The reason I swtiched from arch repo version to flatpak was to have a more seamless integration with wayland without having to mess with the arguments which didnt work for me. I gave it access to my github token directly as well as path to gh and setting the default helper to gh and didnt fix it

@NotAF0e
Copy link
Author

NotAF0e commented Jan 16, 2025

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants