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()
202202 var encryptedDatabaseConfigs = PasswordDatabases . Where ( pwdDb => pwdDb . Value . RefreshTokenStorage == Enums . OneDriveRefreshTokenStorage . DiskEncrypted ) ;
203203 foreach ( var encryptedDatabaseConfig in encryptedDatabaseConfigs )
204204 {
205- encryptedDatabaseConfig . Value . RefreshToken = Utilities . Unprotect ( encryptedDatabaseConfig . Value . RefreshToken ) ;
205+ encryptedDatabaseConfig . Value . RefreshToken = string . IsNullOrWhiteSpace ( encryptedDatabaseConfig . Value . RefreshToken ) ? null : Utilities . Unprotect ( encryptedDatabaseConfig . Value . RefreshToken ) ;
206206 }
207207 }
208208
@@ -226,7 +226,7 @@ public static void Save()
226226
227227 // Refresh token will be stored encrypted on disk, we create a copy of the configuration and encrypt the refresh token
228228 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 ) ;
230230 passwordDatabasesForStoring . Add ( passwordDatabase . Key , diskConfiguration ) ;
231231 break ;
232232
Original file line number Diff line number Diff line change 3131// You can specify all the values or you can default the Build and Revision Numbers
3232// by using the '*' as shown below:
3333// [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
1717
1818## Latest Version
1919
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+
2024Version 2.1.1.1 - January 20, 2020
2125
2226- 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