[GH-ISSUE #1412] TOPT don't work correctly #16878

Closed
opened 2026-05-18 17:09:12 -05:00 by GiteaMirror · 7 comments
Owner

Originally created by @vk2r on GitHub (Sep 4, 2025).
Original GitHub issue: https://github.com/fosrl/pangolin/issues/1412

I have installed the new version of Pangolin and tried to add a two-factor authentication with QR.

Unfortunately, when adding it to the Ente Auth application, the generated key is incorrect, preventing me from adding TOPT.

Specifications

  • Pangolin version: 1.9.4
  • Ente Auth version: 4.4.4
Originally created by @vk2r on GitHub (Sep 4, 2025). Original GitHub issue: https://github.com/fosrl/pangolin/issues/1412 I have installed the new version of Pangolin and tried to add a two-factor authentication with QR. Unfortunately, when adding it to the Ente Auth application, the generated key is incorrect, preventing me from adding TOPT. ### Specifications - Pangolin version: 1.9.4 - Ente Auth version: 4.4.4
Author
Owner

@oschwartz10612 commented on GitHub (Sep 4, 2025):

I just tested on the latest version and I think it is working? This can
break if the time of your server is off. Could you make sure the time is
right?

I am not super familiar with Ente, but sometimes the string it gives you
is not parsed correctly from pangolin. For example:

otpauth://totp/Pangolin:admin%40fosrl.io?secret=QHNSPVT4LR3JFT62XZWCP7H5GE4ZY2OH&issuer=Pangolin

The actual OTP secret here is QHNSPVT4LR3JFT62XZWCP7H5GE4ZY2OH.

Does that help?

<!-- gh-comment-id:3254882751 --> @oschwartz10612 commented on GitHub (Sep 4, 2025): I just tested on the latest version and I think it is working? This can break if the time of your server is off. Could you make sure the time is right? I am not super familiar with Ente, but sometimes the string it gives you is not parsed correctly from pangolin. For example: otpauth://totp/Pangolin:admin%40fosrl.io?secret=QHNSPVT4LR3JFT62XZWCP7H5GE4ZY2OH&issuer=Pangolin The actual OTP secret here is QHNSPVT4LR3JFT62XZWCP7H5GE4ZY2OH. Does that help?
Author
Owner

@vk2r commented on GitHub (Sep 5, 2025):

I'm sorry. There was no way.
I tried Microsoft Authenticator and it didn't work either. I tried entering it manually and the same message keeps appearing.

This is my referral URL:
otpauth://totp/Pangolin:admin%40vk-studios.net?secret=COU7NDUXYB3SW2FHTXRPZBFNM222CHBI&issuer=Pangolin

This is the message I get :
Image

It could be due to the time zone mismatch. My VPS is located in Germany and I am in Chile.

How can I change the time zone?

<!-- gh-comment-id:3256604625 --> @vk2r commented on GitHub (Sep 5, 2025): I'm sorry. There was no way. I tried Microsoft Authenticator and it didn't work either. I tried entering it manually and the same message keeps appearing. This is my referral URL: otpauth://totp/Pangolin:admin%40vk-studios.net?secret=COU7NDUXYB3SW2FHTXRPZBFNM222CHBI&issuer=Pangolin This is the message I get : <img width="603" height="126" alt="Image" src="https://github.com/user-attachments/assets/04c505ac-11ed-42ac-971f-1e58ef1ca0e3" /> It could be due to the time zone mismatch. My VPS is located in Germany and I am in Chile. How can I change the time zone?
Author
Owner

@v1rusnl commented on GitHub (Sep 8, 2025):

I'm sorry. There was no way. I tried Microsoft Authenticator and it didn't work either. I tried entering it manually and the same message keeps appearing.

This is my referral URL: otpauth://totp/Pangolin:admin%40vk-studios.net?secret=COU7NDUXYB3SW2FHTXRPZBFNM222CHBI&issuer=Pangolin

This is the message I get : Image

It could be due to the time zone mismatch. My VPS is located in Germany and I am in Chile.

How can I change the time zone?

sudo dpkg-reconfigure tzdata
If your VPS is Ubuntu or Debian.

Also you can try to pass TZ variable to the Pangolin container using environment variable depending on where you live.

environment:
  - TZ=America/Santiago

or

environment:
  - TZ=Pacific/Easter
<!-- gh-comment-id:3266073342 --> @v1rusnl commented on GitHub (Sep 8, 2025): > I'm sorry. There was no way. I tried Microsoft Authenticator and it didn't work either. I tried entering it manually and the same message keeps appearing. > > This is my referral URL: otpauth://totp/Pangolin:admin%40vk-studios.net?secret=COU7NDUXYB3SW2FHTXRPZBFNM222CHBI&issuer=Pangolin > > This is the message I get : <img alt="Image" width="603" height="126" src="https://private-user-images.githubusercontent.com/1544900/485905240-04c505ac-11ed-42ac-971f-1e58ef1ca0e3.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NTczMzQ1MzIsIm5iZiI6MTc1NzMzNDIzMiwicGF0aCI6Ii8xNTQ0OTAwLzQ4NTkwNTI0MC0wNGM1MDVhYy0xMWVkLTQyYWMtOTcxZi0xZTU4ZWYxY2EwZTMucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDkwOCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTA5MDhUMTIyMzUyWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MjJjYmZhZjdhZWM2YzNmNTJhYzE2ZjliNTMxZmNkZjJjZjZkZGI3ZTJlZDE2ZDI4ZjRhN2Q0MzNjOTYxYTRkYSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.-Wjh-NqDugRe3o1rELKvhALDuhPiPof6TpyAqOs1GMA"> > > It could be due to the time zone mismatch. My VPS is located in Germany and I am in Chile. > > How can I change the time zone? `sudo dpkg-reconfigure tzdata` If your VPS is Ubuntu or Debian. Also you can try to pass TZ variable to the Pangolin container using environment variable depending on where you live. ``` environment: - TZ=America/Santiago ``` or ``` environment: - TZ=Pacific/Easter ```
Author
Owner

@github-actions[bot] commented on GitHub (Sep 23, 2025):

This issue has been automatically marked as stale due to 14 days of inactivity. It will be closed in 14 days if no further activity occurs.

<!-- gh-comment-id:3321973338 --> @github-actions[bot] commented on GitHub (Sep 23, 2025): This issue has been automatically marked as stale due to 14 days of inactivity. It will be closed in 14 days if no further activity occurs.
Author
Owner

@l3pr-org commented on GitHub (Oct 6, 2025):

Looks like OP reacted to the last comment as if their issue was resolved?

@vk2r Do you mind closing the issue if your problem has been fixed?

<!-- gh-comment-id:3372729982 --> @l3pr-org commented on GitHub (Oct 6, 2025): Looks like OP reacted to the last comment as if their issue was resolved? @vk2r Do you mind closing the issue if your problem has been fixed?
Author
Owner

@vk2r commented on GitHub (Oct 6, 2025):

Looks like OP reacted to the last comment as if their issue was resolved?

@vk2r Do you mind closing the issue if your problem has been fixed?

Close this issue. I reinstalled everything from scratch and it worked without problems.

<!-- gh-comment-id:3373586320 --> @vk2r commented on GitHub (Oct 6, 2025): > Looks like OP reacted to the last comment as if their issue was resolved? > > [@vk2r](https://github.com/vk2r) Do you mind closing the issue if your problem has been fixed? Close this issue. I reinstalled everything from scratch and it worked without problems.
Author
Owner

@l3pr-org commented on GitHub (Oct 16, 2025):

You will have to close the issue yourself. Only the issue creator and repository maintainers/owners have permissions to close issues. There is a 'close issue' button next to the green 'comment' button.

Image
<!-- gh-comment-id:3411059428 --> @l3pr-org commented on GitHub (Oct 16, 2025): You will have to close the issue yourself. Only the issue creator and repository maintainers/owners have permissions to close issues. There is a 'close issue' button next to the green 'comment' button. <img width="624" height="50" alt="Image" src="https://github.com/user-attachments/assets/4a83cd63-b91a-4cd0-820d-47d48d20fca0" />
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/pangolin#16878