Results 1 to 9 of 9

Thread: KGPG Problem

  1. #1
    Join Date
    Apr 2011
    Location
    Classified
    Beans
    174
    Distro
    Lubuntu

    KGPG Problem

    So, I've been using Kgpg successfully until recently. Now, when I try to open Kgpg, I get this:

    Code:
    gpg: can't open `/home/redbikemaster/.gnupg/pubring.gpg'
    gpg: keydb_search_first failed: file open error
    tru::1:1397101464:0:3:1:5
    I really need these keys ASAP, so any and all help would be greatly appreciated. Thanks.
    CPU: AMD FX 8120 8-Core Black Edition OC'd to 4.3GHz | Motherboard: Gigabyte GA-990FXA-UD3 | Graphics: Twin Radeon 7870's | Memory: 16GB G.SKILL Ripjaw Series DDR3 1600

  2. #2
    Join Date
    Sep 2006
    Location
    France.
    Beans
    Hidden!
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: KGPG Problem

    Does your user own /home/redbikemaster/.gnupg/pubring.gpg ?
    | My old and mostly abandoned blog |
    Linux user #413984 ; Ubuntu user #178
    J'aime les fraises.
    Nighty night me lovelies!

    | Reinstalling Ubuntu ? Please check this bug first ! |
    | Using a ppa ? Please install ppa-purge from universe, you may need it should you want to revert packages back |
    | No support requests / username changes by PM, thanks. |
    [SIGPIC][/SIGPIC]

  3. #3
    Join Date
    Apr 2011
    Location
    Classified
    Beans
    174
    Distro
    Lubuntu

    Re: KGPG Problem

    It be owned by root. Bad?
    CPU: AMD FX 8120 8-Core Black Edition OC'd to 4.3GHz | Motherboard: Gigabyte GA-990FXA-UD3 | Graphics: Twin Radeon 7870's | Memory: 16GB G.SKILL Ripjaw Series DDR3 1600

  4. #4
    Join Date
    Sep 2006
    Location
    France.
    Beans
    Hidden!
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: KGPG Problem

    Well, either you run it as root or if you want it to be run by your user, you should own it
    What was your previous setup ? Run as root or run as user ?
    | My old and mostly abandoned blog |
    Linux user #413984 ; Ubuntu user #178
    J'aime les fraises.
    Nighty night me lovelies!

    | Reinstalling Ubuntu ? Please check this bug first ! |
    | Using a ppa ? Please install ppa-purge from universe, you may need it should you want to revert packages back |
    | No support requests / username changes by PM, thanks. |
    [SIGPIC][/SIGPIC]

  5. #5
    Join Date
    Apr 2011
    Location
    Classified
    Beans
    174
    Distro
    Lubuntu

    Re: KGPG Problem

    a39hc.jpg

    ...I have never had to enter admin password, so I'm assuming it was originally run as user. Does that sound right? It's just the app KGpg.
    Attached Images Attached Images
    CPU: AMD FX 8120 8-Core Black Edition OC'd to 4.3GHz | Motherboard: Gigabyte GA-990FXA-UD3 | Graphics: Twin Radeon 7870's | Memory: 16GB G.SKILL Ripjaw Series DDR3 1600

  6. #6
    Join Date
    Sep 2006
    Location
    France.
    Beans
    Hidden!
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: KGPG Problem

    As I'm not using it, I do to know if running as user sounds right or not. Been browsing gnupg and kgpg docs and it is not obvious if it should be run as user or root. From ancient times when I used to use seahorse, I did not use a password either.

    In any case :
    Code:
    sudo chown redbikemaster:redbikemaster ~/.gnupg/pubring.gpg
    Will make the file belong to your user and user group, I guess you do not want others to be able to access it.

    Who owns the ~/.gnupg/ file btw ? A change in ownsership is always curious and should not happen by luck (or bad luck ).

    Edit : on my setup, my user owns the whole file :
    Code:
    bapoumba@SonyBlue:~$ ls -la .gnupg/
    total 24
    drwx------  2 bapoumba bapoumba 4096 juil.  5 20:15 .
    drwxr-xr-x 37 bapoumba bapoumba 4096 juil.  6 12:13 ..
    -rw-------  1 bapoumba bapoumba 9398 mai   25 11:48 gpg.conf
    -rw-------  1 bapoumba bapoumba    0 mai   25 11:48 pubring.gpg
    -rw-------  1 bapoumba bapoumba 1200 mai   30 12:23 trustdb.gpg
    Last edited by bapoumba; July 6th, 2014 at 12:33 PM.
    | My old and mostly abandoned blog |
    Linux user #413984 ; Ubuntu user #178
    J'aime les fraises.
    Nighty night me lovelies!

    | Reinstalling Ubuntu ? Please check this bug first ! |
    | Using a ppa ? Please install ppa-purge from universe, you may need it should you want to revert packages back |
    | No support requests / username changes by PM, thanks. |
    [SIGPIC][/SIGPIC]

  7. #7
    Join Date
    Apr 2011
    Location
    Classified
    Beans
    174
    Distro
    Lubuntu

    Re: KGPG Problem

    Will do here in a sec. Funny, everything else is owned by me (redbikemaster). Weird.
    CPU: AMD FX 8120 8-Core Black Edition OC'd to 4.3GHz | Motherboard: Gigabyte GA-990FXA-UD3 | Graphics: Twin Radeon 7870's | Memory: 16GB G.SKILL Ripjaw Series DDR3 1600

  8. #8
    Join Date
    Apr 2011
    Location
    Classified
    Beans
    174
    Distro
    Lubuntu

    Re: KGPG Problem

    Well, you're a hero. Thanks. That was it. I can't believe I didn't think to check that.

    Have an Ubuntu bean!

    Or, a trophy from the last place trophy thread:
    trophy.JPG
    CPU: AMD FX 8120 8-Core Black Edition OC'd to 4.3GHz | Motherboard: Gigabyte GA-990FXA-UD3 | Graphics: Twin Radeon 7870's | Memory: 16GB G.SKILL Ripjaw Series DDR3 1600

  9. #9
    Join Date
    Sep 2006
    Location
    France.
    Beans
    Hidden!
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: KGPG Problem


    Thanks for marking your thread as solved !
    | My old and mostly abandoned blog |
    Linux user #413984 ; Ubuntu user #178
    J'aime les fraises.
    Nighty night me lovelies!

    | Reinstalling Ubuntu ? Please check this bug first ! |
    | Using a ppa ? Please install ppa-purge from universe, you may need it should you want to revert packages back |
    | No support requests / username changes by PM, thanks. |
    [SIGPIC][/SIGPIC]

Bookmarks

Posting Permissions

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