TeamPass icon indicating copy to clipboard operation
TeamPass copied to clipboard

New AD user can't view any passwords after Logout

Open owirtifo opened this issue 2 months ago • 12 comments

After upgrading to 3.1.5.0, some time (about 20 minutes) after creating a new user, he cannot see the passwords: Image

owirtifo avatar Nov 12 '25 11:11 owirtifo

@owirtifo what is the status of tasks manager?

nilsteampassnet avatar Nov 12 '25 12:11 nilsteampassnet

@nilsteampassnet Can you tell me where to look? Image

owirtifo avatar Nov 12 '25 19:11 owirtifo

The problem occurs when the user makes a Logout. After re-login, he does not see the passwords.

owirtifo avatar Nov 12 '25 20:11 owirtifo

Do you have any pending tasks in in-progress tab? How strange behavior you are describing... Normal or ad users?

nilsteampassnet avatar Nov 12 '25 21:11 nilsteampassnet

There are no pending tasks in the task manager. This happens with users added from MS AD.

Image

The create_user_keys task completes successfully, the user logs into Teampass, the user_build_cache_tree task is started, and after its successful completion, he can see the passwords. As soon as he declines and logs in again, he can't see the passwords.

Image

owirtifo avatar Nov 13 '25 08:11 owirtifo

@owirtifo Have you checked your transparent_recovery_check ? is it completed ? Not sure if it has to be before being able to see passwords

Image Image

guerricv avatar Nov 13 '25 08:11 guerricv

Tests on my side with 3.1.5.1: creating 2 users with same role, 1 local and 1 AD connected => Same issue : both users are getting only 3 keys

We can copy sharekeys from a user to another as a temporary workaround. It is still the same issue we saw in others tickets, something is broken, masterkey or something, I don't know. I will dig harder on that.

guerricv avatar Nov 13 '25 09:11 guerricv

Perform transparent password recovery diagnostic froze by 27%.

Image

owirtifo avatar Nov 13 '25 10:11 owirtifo

Perform transparent password recovery diagnostic froze by 27%. Image

It is a normal process, users must login to be enroll in the migration process

Image

from https://github.com/nilsteampassnet/TeamPass/blob/261004a85d9c8dcd096e5c12129f1249aa0759c9/TRANSPARENT_RECOVERY_README.md

guerricv avatar Nov 13 '25 15:11 guerricv

If you generate a new OTP, a Bad code error appears when the user logs in: Image

owirtifo avatar Nov 17 '25 06:11 owirtifo

@owirtifo Yes bug has been identified. It is a regression from 3.1.5.0. I will publish a fix once evalable.

nilsteampassnet avatar Nov 17 '25 07:11 nilsteampassnet

@nilsteampassnet hi! Is there any progress on this issue?

owirtifo avatar Dec 16 '25 08:12 owirtifo