This repository was archived by the owner on Apr 1, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +7
-3
lines changed
KoenZomers.KeePass.OneDriveSync Expand file tree Collapse file tree 4 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -202,7 +202,7 @@ public static void Load()
202
202
var encryptedDatabaseConfigs = PasswordDatabases . Where ( pwdDb => pwdDb . Value . RefreshTokenStorage == Enums . OneDriveRefreshTokenStorage . DiskEncrypted ) ;
203
203
foreach ( var encryptedDatabaseConfig in encryptedDatabaseConfigs )
204
204
{
205
- encryptedDatabaseConfig . Value . RefreshToken = Utilities . Unprotect ( encryptedDatabaseConfig . Value . RefreshToken ) ;
205
+ encryptedDatabaseConfig . Value . RefreshToken = string . IsNullOrWhiteSpace ( encryptedDatabaseConfig . Value . RefreshToken ) ? null : Utilities . Unprotect ( encryptedDatabaseConfig . Value . RefreshToken ) ;
206
206
}
207
207
}
208
208
@@ -226,7 +226,7 @@ public static void Save()
226
226
227
227
// Refresh token will be stored encrypted on disk, we create a copy of the configuration and encrypt the refresh token
228
228
var diskConfiguration = ( Configuration ) passwordDatabase . Value . Clone ( ) ;
229
- diskConfiguration . RefreshToken = Utilities . Protect ( diskConfiguration . RefreshToken ) ;
229
+ diskConfiguration . RefreshToken = string . IsNullOrWhiteSpace ( diskConfiguration . RefreshToken ) ? null : Utilities . Protect ( diskConfiguration . RefreshToken ) ;
230
230
passwordDatabasesForStoring . Add ( passwordDatabase . Key , diskConfiguration ) ;
231
231
break ;
232
232
Original file line number Diff line number Diff line change 31
31
// You can specify all the values or you can default the Build and Revision Numbers
32
32
// by using the '*' as shown below:
33
33
// [assembly: AssemblyVersion("1.0.*")]
34
- [ assembly: AssemblyVersion ( "2.1.1.1 " ) ]
34
+ [ assembly: AssemblyVersion ( "2.1.1.2 " ) ]
Original file line number Diff line number Diff line change @@ -17,6 +17,10 @@ Download the PLGX and place it inside your KeePass\Plugins folder. Typically thi
17
17
18
18
## Latest Version
19
19
20
+ Version 2.1.1.2 - March 13, 2020
21
+
22
+ - Fixed a bug where corrupted configuration entries could not be deleted [ issue 128] ( https://github.com/KoenZomers/KeePassOneDriveSync/issues/128 )
23
+
20
24
Version 2.1.1.1 - January 20, 2020
21
25
22
26
- Fixed a bug when you would go into the Graph Any Browser screen and close it again, that it would start throwing exceptions
You can’t perform that action at this time.
0 commit comments