[SOLVED] new v2 TOTP recording

TwiX

Renowned Member
Feb 3, 2015
311
23
83
Hi,

Seems that latest pve7.1 changes the way we record totp on /etc/pve/priv/tfa.cfg.

I have a problem with that because the 'Secret' is now showed

V2 :
1638863692515.png

V1:
1638864649199.png

V2 method allows root to know all secrets keys for all users. Some of them use the same TOTP secret for several services.

Fortunately, V1 is still valid
 
the root user could always read the TOTP secret (previously it was just base64 encoded), that's how TOTP works (via a shared secret). that's why you get a new one for each service and DON'T share it..
 
  • Like
Reactions: Stoiko Ivanov

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!