[Desktop-packages] [Bug 1849346] Re: [snap] kerberos GSSAPI no longer works after deb->snap transition

2021-11-09 Thread frigo
if the goal is to have a single snap making use of the kerberos ticket,
as a workaround you can put something like this in /etc/krb5.conf


[libdefaults]
default_ccache_name = 
DIR:/home/%{username}/snap/firefox/common/.cache/.k5_ccache


the default connections for the firefox snap prevent it to read hidden files 
under $HOME, so we help it a little. Seems to work so far

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

Title:
  [snap] kerberos GSSAPI no longer works after deb->snap transition

Status in Mozilla Firefox:
  New
Status in chromium-browser package in Ubuntu:
  Confirmed
Status in firefox package in Ubuntu:
  Confirmed

Bug description:
  I configure AuthServerWhitelist as documented:

  https://www.chromium.org/developers/design-documents/http-
  authentication

  and can see my whitelisted domains in chrome://policy/

  but websites that used to work with SPNEGO/GSSAPI/kerberos no longer
  work. I'm guessing the snap needs some sort of permission to use the
  kerberos ticket cache (or the plumbing to do so doesn't exist...).

  I can confirm that Chrome has the desired behavior.

To manage notifications about this bug go to:
https://bugs.launchpad.net/firefox/+bug/1849346/+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


[Desktop-packages] [Bug 1913570] Re: Firefox not opening file chooser dialog for importing certificates

2021-11-09 Thread frigo
I hit this bug too with firefox 94.0.1-1 / Ubuntu 20.04.3 LTS (Focal
Fossa)

when trying to import my certificate from /etc/ssl/certs/toto.crt, that
has previously been installed with update-ca-certificates, "nothing
happens" as you describe

when opening the Browser Console, and repeating the action, I get an
error:

message: "Component returned failure code: 0x80520012
(NS_ERROR_FILE_NOT_FOUND) [nsIX509CertDB.importCertsFromFile]"

we can see what happens by looking in the snap:
snap run --shell firefox
cat /etc/ssl/certs/toto.crt
: No such file or directory

this is a symlink that points to a folder under /usr/local/share/ca-
certificates which is not accessible by the snap.

Fix it: copy the file under $HOME where it can be imported... hth

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

Title:
  Firefox not opening file chooser dialog for importing certificates

Status in firefox package in Ubuntu:
  Expired

Bug description:
  When installed as a snap, firefox won't open the file chooser dialog
  for importing a certificate authority. However, it is working when
  installed using apt.

  How to reproduce:
  1. Install firefox as snap
  2. Navigate to Preferences | Privacy & Security | Certificates | View 
Certificates
  3. Select Authorities
  4. Click Import ...
 -> A file selector dialog should open to import a certificate, but nothing 
happens.

  Environment:
  ProblemType: Bug
  ApportVersion: 2.20.11-0ubuntu55
  Architecture: amd64
  CasperMD5CheckResult: skip
  CurrentDesktop: Budgie:GNOME
  Date: Thu Jan 28 11:43:55 2021
  DistroRelease: Ubuntu 21.04
  InstallationDate: Installed on 2021-01-15 (12 days ago)
  InstallationMedia: Ubuntu-Budgie 21.04 "Hirsute Hippo" - Alpha amd64 
(20210115)
  ProcCpuinfoMinimal:
   processor: 3
   vendor_id: GenuineIntel
   cpu family   : 6
   model: 42
   model name   : Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz
   stepping : 7
   microcode: 0x2f
   cpu MHz  : 3701.000
   cache size   : 8192 KB
   physical id  : 6
   siblings : 1
   core id  : 0
   cpu cores: 1
   apicid   : 6
   initial apicid   : 6
   fpu  : yes
   fpu_exception: yes
   cpuid level  : 13
   wp   : yes
   flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge 
mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx rdtscp lm constant_tsc 
arch_perfmon nopl xtopology tsc_reliable nonstop_tsc cpuid pni pclmulqdq ssse3 
cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx 
hypervisor lahf_lm pti ssbd ibrs ibpb stibp tsc_adjust arat md_clear flush_l1d 
arch_capabilities
   bugs : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds 
swapgs itlb_multihit
   bogomips : 7402.00
   clflush size : 64
   cache_alignment  : 64
   address sizes: 43 bits physical, 48 bits virtual
   power management:
  ProcEnviron:
   SHELL=/bin/bash
   LANGUAGE=en_US
   LC_ADDRESS=de_DE.UTF-8
   LC_NAME=de_DE.UTF-8
   LC_MONETARY=de_DE.UTF-8
   LC_PAPER=de_DE.UTF-8
   LANG=en_US.UTF-8
   TERM=xterm-256color
   LC_IDENTIFICATION=de_DE.UTF-8
   LC_TELEPHONE=de_DE.UTF-8
   LC_MEASUREMENT=de_DE.UTF-8
   XDG_RUNTIME_DIR=
   LC_TIME=de_DE.UTF-8
   PATH=(custom, no user)
   LC_NUMERIC=de_DE.UTF-8
  ProcVersionSignature: Ubuntu 5.8.0-36.40+21.04.1-generic 5.8.18
  Snap: firefox 84.0.2-1 (stable)
  Tags:  hirsute
  Uname: Linux 5.8.0-36-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  _MarkForUpload: True

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1913570/+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