Skip to content

Commit

Permalink
Add Synchronic SAM-SE Plugin version v1.3.0
Browse files Browse the repository at this point in the history
Corections :
- An error was occuring when the user tried to open a SAM-SE Key Store with a none up-to-date SAM-SE (v1.6.0) : It was still recoverable by doing a manual operation using the Tools menu to update the SAM-SE
  • Loading branch information
synchronicbed committed Apr 10, 2024
1 parent 0c7cf48 commit e721b30
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
13 changes: 11 additions & 2 deletions KeyManager.Library.KeyStore.SAM_SE/SAM_SEKeyStore.cs
Original file line number Diff line number Diff line change
Expand Up @@ -176,8 +176,17 @@ public override Task<IList<KeyEntryId>> GetAll(KeyEntryClass? keClass = null)
}
}
}
//Update enabled conf depending on the linked objects
UpdateConfEnabled();
try
{
//Update enabled conf depending on the linked objects
UpdateConfEnabled();
}
catch (KeyStoreException)
{
//Do nothing. This try catch is just here to not throw an error when the user opens
//KeyManager with a not up-to-date SAM-SE (v1.6.0) and gets an error right away ...
}

}

log.Info(String.Format("{0} key entries returned.", entries.Count));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ namespace Leosac.KeyManager.Library.KeyStore.SAM_SE
public class SAM_SEKeyStoreFactory : KeyStoreFactory
{
private readonly uint MAJOR = 1;
private readonly uint MINOR = 2;
private readonly uint MINOR = 3;
private readonly uint DVL = 0;
private static readonly log4net.ILog log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod()?.DeclaringType);

Expand Down

0 comments on commit e721b30

Please sign in to comment.