[SOLVED] new v2 TOTP recording

TwiX

Renowned Member
Feb 3, 2015
320
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