1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-21 18:53:29 +00:00

[PM-14627] Import TOTP with ZohoVault CSV importer (#11912)

* totp secret is assigned to cipher object in zohovalut-csv-importer to populate when importing keys from zoho vault fixes #11872 closes #11872

* fixed issue#11872

* assigned full totp url to cipher object and also implemented unit tests for zohovault importer

* Add test to when no data is passed to the importer

* Fix import of folders

- Replace "Chambername" with "Folder Name"
- Add tests for importing folders and collections

---------

Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
Co-authored-by: Daniel James Smith <2670567+djsmith85@users.noreply.github.com>
This commit is contained in:
SHASHI KUMAR KASTURI
2024-11-12 12:47:25 -05:00
committed by GitHub
parent 40f2e15cec
commit aa04d84c11
3 changed files with 95 additions and 2 deletions

View File

@@ -0,0 +1,5 @@
export const data = `"Password Name","Description","Password URL","SecretData","Notes","CustomData","Tags","Classification","Favorite","login_totp","Folder Name"
XYZ Test,,https://abc.xyz.de:5001/#/login,"SecretType:Web Account
User Name:email@domain.de
Password:PcY_IQEXIjKGj8YW
",,"",,E,0,otpauth://totp?secret=PI2XO5TW0DF0SHTYOVZXOOBVHFEWM6JU&algorithm=SHA1&period=30&digits=6,folderName`;