Conversation
|
Some minor notes about the code:
As for your issues:
InkWatchy/src/ui/places/vault/vaultUi.cpp Lines 177 to 204 in f207b0f The whole "Vault manager" works in such a way that based on if the key is supplied is correct and what was the previous menu name selected, if it was a valid vault file, show the file, if not, show the menu again. This happens also on back button, it probably gets confused in your code I propose, for both UI and code, split apart the menu for vault that after supplying the correct key, it shows a menu where you can choose TOTP or images, then reuse the functions but split apart the menu / ui because now it's a bit of a mess, then we can look for a solution (as the code for images was never designed to support more than that) |

I added a TOTP folder to the encrypted Vault and an encryption script for littlefs generation. It encrypts the
.txtfiles(each containing one base 32 key) inresources/personal/vault/totp/.It currently does technically work but it is very unoptimized and i do have some issues with the back button. Specifically i can't leave the TOTP folder using a single back press and after leaving the totpValue place the Menu doesn't get redrawn fully but still works(scrolling and selecting).
I'd love to hear some ideas on fixing those issues before i finalize this pull request.