File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
Rdmp.Core/Repositories/Managers Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1313- Remove functionality to mark individual catalogues as extractable/not extractable. Favor use of marking as internal.
1414- Move RSA key checks to fix bug where bad RSA keys were causing issues at launch
1515- Add cli command to export catalogue metadata to a Atlassian Confluence space
16+ - Allow the use of netowrk share RSA keys
1617
1718
1819## [ 9.0.1] - 2025-07-31
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ private string GetKeyFileLocationImpl()
6565 public string OpenKeyFile ( )
6666 {
6767 var location = GetKeyFileLocation ( ) ;
68- return location is null ? null : File . ReadAllText ( location ) ;
68+ return location is null ? null : File . ReadAllText ( $@ " { location } " ) ;
6969 }
7070
7171 private static void DeserializeFromLocation ( string keyLocation )
@@ -74,7 +74,7 @@ private static void DeserializeFromLocation(string keyLocation)
7474 return ;
7575 try
7676 {
77- new RSACryptoServiceProvider ( ) . FromXmlString ( File . ReadAllText ( keyLocation ) ) ;
77+ new RSACryptoServiceProvider ( ) . FromXmlString ( File . ReadAllText ( $@ " { keyLocation } " ) ) ;
7878 }
7979 catch ( Exception ex )
8080 {
@@ -129,8 +129,8 @@ public FileInfo CreateNewKeyFile(string path)
129129 public void ChangeLocation ( string newLocation )
130130 {
131131 ClearAllInjections ( ) ;
132-
133- if ( ! File . Exists ( newLocation ) )
132+
133+ if ( ! File . Exists ( $@ " { newLocation } " ) )
134134 throw new FileNotFoundException ( $ "Could not find key file at:{ newLocation } ") ;
135135
136136 //confirms that it is accessible and deserializable
You can’t perform that action at this time.
0 commit comments