Results 1 to 8 of 8

Thread: Seahorse does not work properly

  1. #1

    Unhappy Seahorse does not work properly

    Hello,

    I have had a problem with the seahorse application for a few days. Before, it started when I started my system, I unlocked and I was comfortable with my encrypted ssh keys, etc.
    Now, for some reason that is unknown to me (ok, I changed my ssh key/passphrase without using seahorse ?!), it does not start at startup. Worse, I can't normally connect in ssh with registered remote hosts. For example, to connect to a remote machine in ssh on which I saved the key, I get the answer "sign_and_send_pubkey: signing failed: agent refused operation". For sweater on a github repository, same problem. (of course, I tried to change the keys, using directly seahorse... There is always the same message then)
    I can of course do a trick to use the ssh agent, but then I have to enter my key each time.

    I don't know where to start to fix this problem. I would like to come back to the situation of unlocking at startup, and letting seahorse manage my ssh keys.

    I tried lot of things found on the Internet... :/ But I need some help. Please :/

    info :
    OpenSuse 15.0
    gnome-keyring: 3.20.1

  2. #2
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    12,641
    Blog Entries
    3

    Default Re: Seahorse does not work properly

    It is working fine here. However, I did not change ssh passphrase, so I don't know how that affects things.

    Here's one difference, though. For me, the Gnome login keyring is already open when I login to Gnome. It is using the login password for that. So maybe you are using auto-login, and never give your password.

    So I wonder whether you ever changed your login password, and whether that would affect anything.

    Can you post the output of
    Code:
    zypper lr -d
    We might as well look at your repos. It's always possible that a rogue repo is causing problems.
    openSUSE Leap 15.1; KDE Plasma 5;
    testing Leap 15.2Alpha

  3. #3

    Default Re: Seahorse does not work properly

    Hello, thanks for your reply ! Glad to see someone trying to help.

    Code:
    # zypper lr -d
    
    #  | Alias                             | Nom                                     | Activé | Vérification GPG | Rafraichir | Priorité | Type   | URI                                                                      | Service
    ---+-----------------------------------+-----------------------------------------+--------+------------------+------------+----------+--------+--------------------------------------------------------------------------+--------
     1 | Atom                              | Atom Editor                             | Oui    | (r ) Oui         | Non        |   99     | rpm-md | https://packagecloud.io/AtomEditor/atom/el/7/x86_64                      |        
     2 | http-ftp.uni-erlangen.de-c652e34e | Packman Repository                      | Oui    | (r ) Oui         | Oui        |   99     | rpm-md | http://ftp.uni-erlangen.de/pub/mirrors/packman/suse/openSUSE_Leap_15.0   |        
     3 | openSUSE-Leap-15.0-1              | openSUSE-Leap-15.0-1                    | Non    | ----             | ----       |   99     | rpm-md | hd:///?device=/dev/disk/by-id/usb-Generic_Flash_Disk_91E8741E-0:0-part2  |        
     4 | repo-debug                        | openSUSE-Leap-15.0-Debug                | Non    | ----             | ----       |   99     | NONE   | http://download.opensuse.org/debug/distribution/leap/15.0/repo/oss/      |        
     5 | repo-debug-non-oss                | openSUSE-Leap-15.0-Debug-Non-Oss        | Non    | ----             | ----       |   99     | NONE   | http://download.opensuse.org/debug/distribution/leap/15.0/repo/non-oss/  |        
     6 | repo-debug-update                 | openSUSE-Leap-15.0-Update-Debug         | Non    | ----             | ----       |   99     | NONE   | http://download.opensuse.org/debug/update/leap/15.0/oss/                 |        
     7 | repo-debug-update-non-oss         | openSUSE-Leap-15.0-Update-Debug-Non-Oss | Non    | ----             | ----       |   99     | NONE   | http://download.opensuse.org/debug/update/leap/15.0/non-oss/             |        
     8 | repo-non-oss                      | openSUSE-Leap-15.0-Non-Oss              | Oui    | (r ) Oui         | Oui        |   99     | rpm-md | http://download.opensuse.org/distribution/leap/15.0/repo/non-oss/        |        
     9 | repo-oss                          | openSUSE-Leap-15.0-Oss                  | Oui    | (r ) Oui         | Oui        |   99     | rpm-md | http://download.opensuse.org/distribution/leap/15.0/repo/oss/            |        
    10 | repo-source                       | openSUSE-Leap-15.0-Source               | Non    | ----             | ----       |   99     | NONE   | http://download.opensuse.org/source/distribution/leap/15.0/repo/oss/     |        
    11 | repo-source-non-oss               | openSUSE-Leap-15.0-Source-Non-Oss       | Non    | ----             | ----       |   99     | NONE   | http://download.opensuse.org/source/distribution/leap/15.0/repo/non-oss/ |        
    12 | repo-update                       | openSUSE-Leap-15.0-Update               | Oui    | (r ) Oui         | Oui        |   99     | rpm-md | http://download.opensuse.org/update/leap/15.0/oss/                       |        
    13 | repo-update-non-oss               | openSUSE-Leap-15.0-Update-Non-Oss       | Oui    | (r ) Oui         | Oui        |   99     | rpm-md | http://download.opensuse.org/update/leap/15.0/non-oss/                   |        
    14 | sublime-text                      | Sublime Text - x86_64 - Stable          | Oui    | (r ) Oui         | Oui        |   99     | rpm-md | https://download.sublimetext.com/rpm/stable/x86_64                       |
    I did not change my password for my login. My install is young (2 months)...

  4. #4
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    12,641
    Blog Entries
    3

    Default Re: Seahorse does not work properly

    I'm not seeing an obvious problem with the repos. You have two non-standard repos, but they seem unlikely to cause problems.

    I've been assuming that your desktop environment is Gnome. But maybe it isn't. So can you tell us what desktop environment you use, and what display manager (login GUI) you are using.
    openSUSE Leap 15.1; KDE Plasma 5;
    testing Leap 15.2Alpha

  5. #5

    Default Re: Seahorse does not work properly

    Yes, my desktop is Gnome. Or... "was"

    While trying to fix the problem, I broke my system, and I can't boot anymore :/
    I try to recover my files with a live session before reinstalling everything.

    I changed the starup program to launch the key manager, and Gnome does not open any session anymore for the moment... :/

  6. #6

    Default Re: Seahorse does not work properly

    Up.

    I fixed the problem. After reinstall OpenSuse, I kept my ssh and configuration from the previous install, and I had exactly the same problem.
    I only removed all the .ssh/* content, recreated a ssh key using seahorse, and it seams to work, now.

    I don't know what was the problem... But now it's solved.

    I only have to reinstall all my programs

  7. #7
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    12,641
    Blog Entries
    3

    Default Re: Seahorse does not work properly

    Quote Originally Posted by subsib View Post
    After reinstall OpenSuse, I kept my ssh and configuration from the previous install, and I had exactly the same problem.
    It looks as if the problem was in user settings.

    I don't know what was the problem...
    I don't know either. But, later today, I will experiment with changing the password on an ssh key to see if that causes problems.

    But now it's solved.
    That's the most important part.
    openSUSE Leap 15.1; KDE Plasma 5;
    testing Leap 15.2Alpha

  8. #8
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    12,641
    Blog Entries
    3

    Default Re: Seahorse does not work properly

    Quote Originally Posted by nrickert View Post
    But, later today, I will experiment with changing the password on an ssh key to see if that causes problems.
    Okay, I have done that experiment.

    I setup a new user account, and created an ssh key for that user. I created the key while logged into Icewm.

    I then logged into Gnome, and used the key for an ssh-connection to another computer. Seahorse prompted for the passphrase, and saved it in the Gnome keyring.

    I then logged out from Gnome, and back into Icewm, where I changed the passphrase (at the command line with "ssh-keygen -p".

    I again logged into Gnome, and tried to use that key for a connection. And Seahorse prompted me for the new passphrase, and saved that in the Gnome keyring. So all was working the way that it should.

    Actually, for my first attempt at doing this, I created an ed25519 key. And Seahorse did not recognize that at all. So I created an rsa key to complete my tests.
    openSUSE Leap 15.1; KDE Plasma 5;
    testing Leap 15.2Alpha

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •