Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1171149 > unrolled thread

Bug#1053669: thunderbird: primary password not ask on startup - only in safe-mode it works

Started byAndreas Matthus <matthus@nexgo.de>
First post2023-10-08 14:10 +0200
Last post2023-10-10 14:00 +0200
Articles 3 — 1 participant

Back to article view | Back to linux.debian.bugs.dist


Contents

  Bug#1053669: thunderbird: primary password not ask on startup - only in safe-mode it works Andreas Matthus <matthus@nexgo.de> - 2023-10-08 14:10 +0200
    Bug#1053669: thunderbird: primary password not ask on startup - only in safe-mode it works Andreas Matthus <matthus@nexgo.de> - 2023-10-09 20:20 +0200
    Bug#1053669: thunderbird: primary password not ask on startup - only in safe-mode it works Andreas Matthus <matthus@nexgo.de> - 2023-10-10 14:00 +0200

#1171149 — Bug#1053669: thunderbird: primary password not ask on startup - only in safe-mode it works

FromAndreas Matthus <matthus@nexgo.de>
Date2023-10-08 14:10 +0200
SubjectBug#1053669: thunderbird: primary password not ask on startup - only in safe-mode it works
Message-ID<HmALD-enRZ-3@gated-at.bofh.it>
Package: thunderbird
Version: 1:115.3.1-1~deb12u1
Severity: important

Dear Maintainer,

after upgrade to 115.3.1-1~deb12u1 from 102 I have problems by starting
thunderbird: It ask not for primary password but the passwords for all accounts
and calenders. No stored passwords found and not stored private certificates.
All accounts and old mails are seen.
Restart thunderbird shows he same behavior. Disable all plugins the same.

Start in safe-mode an "continue in Troubleshoot Mode" show the question for
primary password first and all works fine (only I can't set the language). Next
start I need this way too. Start in normal mode have the problems above every
time.

with regards



-- System Information:
Debian Release: 12.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-12-amd64 (SMP w/12 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages thunderbird depends on:
ii  debianutils          5.7-0.4
ii  fontconfig           2.14.1-4
ii  kdialog              4:22.12.3-1
ii  libasound2           1.2.8-1+b1
ii  libatk1.0-0          2.46.0-5
ii  libc6                2.36-9+deb12u3
ii  libcairo-gobject2    1.16.0-7
ii  libcairo2            1.16.0-7
ii  libdbus-1-3          1.14.8-2~deb12u1
ii  libdbus-glib-1-2     0.112-3
ii  libevent-2.1-7       2.1.12-stable-8
ii  libffi8              3.4.4-1
ii  libfontconfig1       2.14.1-4
ii  libfreetype6         2.12.1+dfsg-5
ii  libgcc-s1            12.2.0-14
ii  libgdk-pixbuf-2.0-0  2.42.10+dfsg-1+b1
ii  libglib2.0-0         2.74.6-2
ii  libgtk-3-0           3.24.37-2
ii  libnspr4             2:4.35-1
ii  libnss3              2:3.87.1-1
ii  libotr5              4.1.1-5
ii  libpango-1.0-0       1.50.12+ds-1
ii  libstdc++6           12.2.0-14
ii  libvpx7              1.12.0-1+deb12u2
ii  libx11-6             2:1.8.4-2+deb12u2
ii  libx11-xcb1          2:1.8.4-2+deb12u2
ii  libxcb-shm0          1.15-1
ii  libxcb1              1.15-1
ii  libxext6             2:1.3.4-1+b1
ii  libxrandr2           2:1.5.2-2+b1
ii  psmisc               23.6-1
ii  x11-utils            7.7+5
ii  zenity               3.44.0-1
ii  zlib1g               1:1.2.13.dfsg-1

Versions of packages thunderbird recommends:
ii  hunspell-de-at [hunspell-dictionary]  20161207-11
ii  hunspell-de-ch [hunspell-dictionary]  20161207-11
ii  hunspell-de-de [hunspell-dictionary]  20161207-11
ii  hunspell-en-us [hunspell-dictionary]  1:2020.12.07-2

Versions of packages thunderbird suggests:
ii  apparmor          3.0.8-3
ii  fonts-lyx         2.3.7-1
ii  libgssapi-krb5-2  1.20.1-2

-- Configuration Files:
/etc/apparmor.d/usr.bin.thunderbird changed [not included]

-- debconf-show failed

[toc] | [next] | [standalone]


#1171279

FromAndreas Matthus <matthus@nexgo.de>
Date2023-10-09 20:20 +0200
Message-ID<Hn31f-eHi5-3@gated-at.bofh.it>
In reply to#1171149

[Multipart message — attachments visible in raw view] — view raw

Hallo Carsten,

thank you for your answer.
Unfortunately deleting and/or change primary password give no success.

On javaconsole I see a difference:
---snipp
encrypted-openpgp-passphrase.txt corruption fixed. Corrupted file moved 
to 
/home/andreas/.thunderbird/ys2evdnt.default/encrypted-openpgp-passphrase.txt.corrupt 
masterpass.jsm:200:19
NS_ERROR_FAILURE: Component returned failure code: 0x80004005 
(NS_ERROR_FAILURE) [nsISecretDecoderRing.encryptString]
     _ensurePasswordCreatedAndCached 
chrome://openpgp/content/modules/masterpass.jsm:269
RNP.jsm:465:15
NS_ERROR_FAILURE: Couldn't decrypt string crypto-SDR.sys.mjs:199
NS_ERROR_FAILURE: Couldn't decrypt string crypto-SDR.sys.mjs:199
---snipp

Every time I start without --safe-mode encrypted-openpgp-passphrase.txt 
renamed to
encrypted-openpgp-passphrase.txt-1.corrupt, 
encrypted-openpgp-passphrase.txt-2.corrupt and so on.

All extensions I deleted an purged thunderbird-l10n-de, but just the 
same result.

with regards




On 09.10.23 12:10, Carsten Schoenert wrote:
> Hi,
>
> Am 08.10.23 um 13:57 schrieb Andreas Matthus:
>> Dear Maintainer,
>>
>> after upgrade to 115.3.1-1~deb12u1 from 102 I have problems by starting
>> thunderbird: It ask not for primary password but the passwords for 
>> all accounts
>> and calenders. No stored passwords found and not stored private 
>> certificates.
>> All accounts and old mails are seen.
>> Restart thunderbird shows he same behavior. Disable all plugins the 
>> same.
>>
>> Start in safe-mode an "continue in Troubleshoot Mode" show the 
>> question for
>> primary password first and all works fine (only I can't set the 
>> language). Next
>> start I need this way too. Start in normal mode have the problems 
>> above every
>> time.
>
> you have tried these steps?
>
> https://wiki.debian.org/Thunderbird#Bug_Reporting_.2F_Issues
>
> Is it possible to just edit the master password?
> Means cleaning out the old one and setting a new afterwards?
>
> That's what I read about it while looking for similar cases.
>

[toc] | [prev] | [next] | [standalone]


#1171327

FromAndreas Matthus <matthus@nexgo.de>
Date2023-10-10 14:00 +0200
Message-ID<Hnjz3-eRsk-11@gated-at.bofh.it>
In reply to#1171149
Hallo Carsten,

I tried all you wrote without success. If cert9.db and logins.json 
removed all password-entries and so on must reenter (you warn for that)  
but by reenter none lines added in saved passwords.

O.K.  I must work and moved the old profile to a virtual machine and 
begin with a blank profile on the problem-machine. So I recreate all 
mailboxes, calendars, certificates step by step by coping settings  and 
passwords from the virtual machine. The gpg-keys I must import from a 
third machine. Now I can work again.

On the third machine with a similar setup the upgrade from 102 to 115 
make no problems. So I can't say what is the causal effect and we can 
close the bug.

with regards


Am 09.10.23 um 21:27 schrieb Carsten Schoenert:
> Hello Andreas,
>
> On 10/9/23 20:02, Andreas Matthus wrote:
>> Hallo Carsten,
>>
>> thank you for your answer.
>> Unfortunately deleting and/or change primary password give no success.
>>
>> On javaconsole I see a difference:
>> ---snipp
>> encrypted-openpgp-passphrase.txt corruption fixed. Corrupted file 
>> moved to 
>> /home/andreas/.thunderbird/ys2evdnt.default/encrypted-openpgp-passphrase.txt.corrupt 
>> masterpass.jsm:200:19
>> NS_ERROR_FAILURE: Component returned failure code: 0x80004005 
>> (NS_ERROR_FAILURE) [nsISecretDecoderRing.encryptString]
>>      _ensurePasswordCreatedAndCached 
>> chrome://openpgp/content/modules/masterpass.jsm:269
>> RNP.jsm:465:15
>> NS_ERROR_FAILURE: Couldn't decrypt string crypto-SDR.sys.mjs:199
>> NS_ERROR_FAILURE: Couldn't decrypt string crypto-SDR.sys.mjs:199
>> ---snipp
>>
>> Every time I start without --safe-mode 
>> encrypted-openpgp-passphrase.txt renamed to
>> encrypted-openpgp-passphrase.txt-1.corrupt, 
>> encrypted-openpgp-passphrase.txt-2.corrupt and so on.
>>
>> All extensions I deleted an purged thunderbird-l10n-de, but just the 
>> same result.
>
> you can try to stop Thunderbird, backup the file key4.db from your 
> profile folder, than remove that file and restart Thunderbird.
>
> Thunderbird will create a new file and you should be able to set again 
> a new master password.
> Other possible corrupted files are cert9.db and logins.json.
> If you remove these files you need to re-add all the passwords and 
> certificates that were used! So be careful.
>
> It's long ago but we did have similar bug report in the past there 
> deleting the key4.db was the solution. But you
>
> As always, please make a backup of your profile folder before doing 
> any modification within the profile folder.
>

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.bugs.dist


csiph-web