Skip to content

Commit 2ea7d45

Browse files
committed
fixup! Move public key reconstruction to tedge-p11-server
1 parent e010b2e commit 2ea7d45

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

crates/extensions/tedge-p11-server/src/service.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ pub trait TedgeP11Service: Send + Sync {
1111

1212
/// Signs the message using the private key object on the token (denoted by uri).
1313
fn sign(&self, request: SignRequestWithSigScheme) -> anyhow::Result<SignResponse>;
14-
/// Generate a new keypair, saving the private key on the token and returning the public key as BER.
14+
15+
/// Generate a new keypair, saving the private key on the token and returning the public key as PEM.
1516
fn create_key(&self, uri: Option<&str>, params: CreateKeyParams) -> anyhow::Result<String>;
1617
}
1718

0 commit comments

Comments
 (0)