Skip to content

Commit 93638eb

Browse files
committed
clean up
1 parent b3929cc commit 93638eb

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

src/main/java/com/uid2/operator/Main.java

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -157,12 +157,11 @@ public Main(Vertx vertx, JsonObject config) throws Exception {
157157
new GlobalScope(new CloudPath(cloudEncryptionKeyMdPath)));
158158

159159
String keypairMdPath = this.config.getString(Const.Config.ClientSideKeypairsMetadataPathProp);
160-
this.clientKeyProvider = new RotatingClientKeyProvider(fsStores, new GlobalScope(new CloudPath(clientsMdPath)),
161-
cloudEncryptionKeyProvider);
160+
this.clientSideKeypairProvider = new RotatingClientSideKeypairStore(fsStores,
161+
new GlobalScope(new CloudPath(keypairMdPath)), cloudEncryptionKeyProvider);
162162
String clientsMdPath = this.config.getString(Const.Config.ClientsMetadataPathProp);
163-
this.clientKeyProvider = new RotatingClientKeyProvider(fsStores,
164-
new GlobalScope(new CloudPath(clientsMdPath)),
165-
cloudEncryptionKeyProvider);
163+
this.clientKeyProvider = new RotatingClientKeyProvider(fsStores, new GlobalScope(new CloudPath(clientsMdPath)),
164+
cloudEncryptionKeyProvider);
166165
String keysetKeysMdPath = this.config.getString(Const.Config.KeysetKeysMetadataPathProp);
167166
this.keysetKeyStore = new RotatingKeysetKeyStore(fsStores, new GlobalScope(new CloudPath(keysetKeysMdPath)),
168167
cloudEncryptionKeyProvider);

0 commit comments

Comments
 (0)