Commit Graph

90 Commits

Author SHA1 Message Date
Artem Bugaev
b143d9233d Add button to save passwords 2025-12-05 20:21:15 +03:00
59ddb1da06 implement IPassStore.Save 2025-12-05 17:52:10 +03:00
c7f9fc0099 move RepositoryWindow to KeyKeeper.Views 2025-12-05 15:45:02 +03:00
a021dbc63d design adjustments 2025-12-05 15:31:29 +03:00
84abdc1596 unlock error reporting, bugfixes
- fix Locked property becoming true when the store in fact was not opened
- fix password being null
- make RepositoryWindow non-resizeable
- show error popups in case of unlock error
2025-12-05 15:30:38 +03:00
4beca8f286 remove unnecessary usings 2025-12-05 14:01:23 +03:00
1a5d3e5094 change color 2025-12-05 12:22:04 +03:00
89977a9dec merge important changes from feature/repository-window-locking 2025-12-05 02:59:53 +03:00
aa9075af89 make unlocking work, no exception handling yet 2025-12-05 02:57:20 +03:00
27682c343e add password entry field and button to unlock screen 2025-12-05 02:21:57 +03:00
08d15ca537 remove test unlock 2025-12-05 02:15:17 +03:00
14e068324e detect lock status when the window opens 2025-12-05 02:08:19 +03:00
2d3fd81848 merge branch feature/repository-window-locking 2025-12-05 01:36:11 +03:00
9e5faa2ad4 create viewmodels for RepositoryWindow that can be swapped when locking/unlocking 2025-12-05 01:14:00 +03:00
192eb5c598 merge 1 commit from feature/pass-store-api 2025-12-05 00:03:53 +03:00
Быстров Михаил Евгеньевич
9dd64f3bed Merge style/AboutWindow
Изменено окно "О приложении" + небольшие правки
2025-12-04 22:48:38 +03:00
8567014a48 change hash function to SHA512 2025-12-04 22:45:34 +03:00
ad57307263 merge branch feature/pass-store-api 2025-12-04 21:13:28 +03:00
33e31cb070 implement file reading (unlocking the database)
- implement ReadField in PassStoreEntryPassword
- make WriteField static
- add ToString for LoginField, PassStoreEntryPassword & PassStoreEntryGroup
- fix bugs in OuterEncryptionReader and PassStoreFileAccessor
- change PassStoreFileAccessor.root type to PassStoreEntry
2025-12-04 21:10:04 +03:00
5c8a63f56a implement some missing methods in FileFormatUtil 2025-12-04 02:09:37 +03:00
73bb767919 implement PassStoreEntryGroup.ReadFromStream 2025-12-04 02:07:40 +03:00
000722e5a6 fix bugs and add some placeholders
+ fix file magic number check
+ change marker size 7 -> 8
+ set key field when creating-and-unlocking, so Locked becomes false
+ throw InvalidOperationException in GetRootDirectory when the store is not unlocked
+ invert Locked property (hahaha)
+ fix debug logging in OuterEncryptionReader
+ implement reading the file header from a Stream
+ PassStoreFileAccessor.Unlock reads and prints out the file header (placeholder for future implementation)
+ the Create Store button creates an empty file at the selected location
+ the Open Store button checks the file and calls Unlock
2025-12-04 01:53:10 +03:00
8fe565ca82 PassStoreFileException: fix exception description in console 2025-12-04 00:25:42 +03:00
55ad709579 file write fixes 2025-12-03 21:51:17 +03:00
05a257518d merge master for testing 2025-12-03 19:00:26 +03:00
480798b1a1 fix smol typo 2025-12-03 18:56:09 +03:00
239591b160 set root after creating file 2025-12-03 18:46:24 +03:00
Быстров Михаил Евгеньевич
7872e263f7 Изменено окно "О приложении" + небольшие правки
Визуальная составляющая: Изменено окно "О приложении". Цвет фона теперь синий. Надпись теперь на русском (взята с ReadMe). Небольшие правки: Кнопка "настройки" на главном экране теперь открывает окно настроек. Кнопка "о приложении" теперь открывает окно "о приложении"
2025-12-03 17:31:53 +03:00
4ca776b54e try to implement PassStoreFileAccessor with file creation functionality 2025-12-03 17:18:10 +03:00
a27d9b34fb create PassStoreEntryGroup 2025-12-03 17:05:56 +03:00
b880c620fd create PassStoreEntryPassword 2025-12-03 17:05:26 +03:00
825103cf16 add a lot of constants to FileFormatConstants 2025-12-03 17:04:03 +03:00
31d41cb9cd implement serialization for PassStoreEntry 2025-12-03 17:03:21 +03:00
2023c9f521 expose raw chunk data 2025-12-02 22:20:08 +03:00
403283a30b some edits in OuterEncryptionReader 2025-12-02 22:19:10 +03:00
c3bc68b6e9 implement OuterEncryptionWriter 2025-12-02 22:18:30 +03:00
5ab0fc9f1e add StoreCreationOptions class 2025-12-02 19:24:16 +03:00
f8ddcddc6f make salt field optional in CompositeKey so it can be set later by the callee 2025-12-02 19:23:20 +03:00
4fbebbbf80 add Lock and Unlock methods to IPassStore 2025-12-02 16:47:44 +03:00
d19ea304cb make CompositeKey a class to make it simpler to protect its memory in the future 2025-12-01 20:58:14 +03:00
e07e9731d1 implement OuterEncryptionReader 2025-12-01 17:56:41 +03:00
1899284277 add IsLast property to PassStoreContentChunk
- add special handling of the bit 23 in the 24-bit ChunkSize field
- make the constructor set the property depending on that bit
2025-12-01 15:43:03 +03:00
42ab7b86a9 merge branch MainWindow 2025-12-01 15:04:58 +03:00
00719d58e5 merge branch RepositoryWindow 2025-12-01 14:49:54 +03:00
8c6a388507 fix app not closing: delete extra window 2025-12-01 14:39:20 +03:00
d41e96a22f replace grid with real listbox 2025-12-01 13:52:56 +03:00
c93911fd19 tabs to spaces 2025-12-01 12:55:22 +03:00
fecab564b7 fix HMAC in PassStoreContentChunk 2025-12-01 00:48:18 +03:00
InspectorIT
744572dc69 Adjusted the Open Database button 2025-11-30 21:33:29 +03:00
InspectorIT
acccd53d8c Add different logos 2025-11-30 21:29:11 +03:00