Skip to content

Commit

Permalink
fix: update code with the new ssi lib main
Browse files Browse the repository at this point in the history
  • Loading branch information
mustafasalfiti authored and nitin-vavdiya committed May 21, 2024
1 parent 0a69f1c commit 9497d3e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
import org.eclipse.tractusx.managedidentitywallets.dao.entity.HoldersCredential;
import org.eclipse.tractusx.managedidentitywallets.dao.entity.JtiRecord;
import org.eclipse.tractusx.managedidentitywallets.dao.entity.Wallet;
import org.eclipse.tractusx.managedidentitywallets.dao.entity.WalletKey;
import org.eclipse.tractusx.managedidentitywallets.dao.repository.HoldersCredentialRepository;
import org.eclipse.tractusx.managedidentitywallets.dao.repository.JtiRepository;
import org.eclipse.tractusx.managedidentitywallets.dao.repository.WalletKeyRepository;
Expand Down Expand Up @@ -184,7 +183,6 @@ private void buildVPJwtEdDSA(String audience, String callerBpn, Wallet callerWal
X25519PrivateKey ed25519Key = (X25519PrivateKey) result.getRight();
X25519PrivateKey privateKey = new X25519PrivateKey(ed25519Key.asByte());
SignedJWT presentation = presentationFactory.createPresentation(result.getLeft(), verifiableCredentials, audience, privateKey , keyId);

response.put(StringPool.VP, presentation.serialize());
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,6 @@ private Wallet createWallet(CreateWalletRequest request, boolean authority, Stri

//create private key pair
IKeyGenerator keyGenerator = new X25519Generator();

KeyPair keyPair = keyGenerator.generateKey();

//create did json
Expand Down

0 comments on commit 9497d3e

Please sign in to comment.