Public bug reported:

Hi,

we have a report in Fedora -
https://bugzilla.redhat.com/show_bug.cgi?id=1985251 - where Sergey found
out that ~/.hplip/.gnupg directory has permissions 755 instead of 700.
Perms 700 prevent accessing the dir by other users, because the dir can
contain private keys.

However, .gnupg dir contains only a public key used in GPG verification
of HP plugin, so the matter isn't that critical, but it is good to have
it fixed.

The patch is attached.

** Affects: hplip
     Importance: Undecided
         Status: New

** Affects: hplip (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: fedora
     Importance: Unknown
         Status: Unknown

** Patch added: "Proposed patch"
   
https://bugs.launchpad.net/bugs/1938442/+attachment/5514599/+files/hplip-gpgdir-perms.patch

** Also affects: hplip (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to hplip in Ubuntu.
https://bugs.launchpad.net/bugs/1938442

Title:
  Wrong permissions on ~/.hplip/.gnupg

Status in HPLIP:
  New
Status in hplip package in Ubuntu:
  New
Status in Fedora:
  Unknown

Bug description:
  Hi,

  we have a report in Fedora -
  https://bugzilla.redhat.com/show_bug.cgi?id=1985251 - where Sergey
  found out that ~/.hplip/.gnupg directory has permissions 755 instead
  of 700. Perms 700 prevent accessing the dir by other users, because
  the dir can contain private keys.

  However, .gnupg dir contains only a public key used in GPG
  verification of HP plugin, so the matter isn't that critical, but it
  is good to have it fixed.

  The patch is attached.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hplip/+bug/1938442/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to