Improve OPVault handling and replace test opvault

* Fix various bugs in opvault parsing to include: TOTP parsing, date handling, naming convention, attachments, and multiple url's.

* Remove category groups that don't have any entries.

* Simplify tests by focusing on the resulting database instead of the parsing mechanics.

* Remove proprietary "freddy" opvault in favor of self-made "keepassxc" opvault.

* Fix #4069, select opvault file on macOS
This commit is contained in:
Jonathan White
2020-04-19 11:50:48 -04:00
parent 560209550c
commit 612f8d2e5b
38 changed files with 176 additions and 937 deletions

View File

@@ -0,0 +1 @@
var profile={"uuid":"E4F7B744A13A4AA382CEABA96B76A4EE","updatedAt":1587218949,"createdAt":1587218949,"tx":1587218949,"passwordHint":"","lastUpdatedBy":"LAPTOP","profileName":"keepassxc","iterations":100000,"salt":"AlJVs0mWO4kcUf48oI1z6w==","overviewKey":"b3BkYXRhMDFAAAAAAAAAABNhfrkPsTDUBLhNayABChYZMwMNXlNDOvGH3GcVbEcupahodp846Sg+hLqpWH2ba9/mNSqjlR6FcXYCZPyQxSddZWoBepbrAvknN4PxItOoZ6ZazrRXLc7VRG4pqF21pR7M88wUyHu4ZShm6zhrYSDI60rcY2xwG/TNyzBuACxx","masterKey":"b3BkYXRhMDEAAQAAAAAAAFfJG7zV9WZoBl+6hnUO0IXOCwpQPJaqMwdt0OPP4pStvQ1+Nsp9onaH+tTCLG2tic9jke0D1Y3whXA1KlZvpdJZFiShBY9wMlXFLhfo8zuGPcMmdsTfHubwnhY5uXFck6xakcFD7uftop/GKc0f0NSPJZxNBR6aEwMqUP9CGfWURZlU6nWGKJQAI6VMDcK522FcvRFlG0dtfWwxFPFcY0nXYAnIzltBPpqjGbPGGX/NKWC69w+y+0VhpGBiyUqXpQAz8lp0hXQDbgkhUgW89MnZeB6xi/FiY0yMhEJ2j7wC24qNpZdC4csShsWJn+4TV6wNrzVUqHo/ZcelGmbONPwS1LW8KcPukXXLxRl1UcJHShOsDjjG/GKPQ8iZRNereD89EEsKRN31acGUrTrh8I0LherrbQ23Vz7ewWPfJrY2"};