<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en">
<head>
<meta content="text/html; charset=US-ASCII" http-equiv="Content-Type">
<title>
GitLab
</title>
<style>img {
max-width: 100%; height: auto;
}
</style>
</head>
<body>
<div class="content">
<p class="details" style="font-style: italic; color: #777;">
<a href="https://gitlab.com/celesteking">cek</a> created an issue:
</p>
<div></div>
<p dir="auto">There should be a way to delete them. Right now, when I'm specifying the URL in "Object 4 URL:" string, it tries to delete them all. There's no way to select one and get rid of it.
As per <a href="https://github.com/opendnssec/SoftHSMv2/issues/555" rel="nofollow noreferrer noopener" target="_blank">softhsm</a> suggestion, I'm logging a bugreport here.</p>
<pre class="code highlight js-syntax-highlight plaintext" lang="plaintext" v-pre="true"><code><span id="LC1" class="line" lang="plaintext"># p11tool --delete --label '' 'pkcs11:library-description=Implementation%20of%20PKCS11;library-manufacturer=SoftHSM;model=SoftHSM%20v2;manufacturer=SoftHSM%20project;serial=058d033952c28e72;token=SW%20token%201;type=cert'</span>
<span id="LC2" class="line" lang="plaintext">Object 0:</span>
<span id="LC3" class="line" lang="plaintext"> URL: pkcs11:library-description=Implementation%20of%20PKCS11;library-manufacturer=SoftHSM;model=SoftHSM%20v2;manufacturer=SoftHSM%20project;serial=058d033952c28e72;token=SW%20token%201;id=%1A;object=THECA;type=cert</span>
<span id="LC4" class="line" lang="plaintext"> Type: X.509 Certificate (RSA-4096)</span>
<span id="LC5" class="line" lang="plaintext"> Expires: Tue Sep 16 15:18:33 2036</span>
<span id="LC6" class="line" lang="plaintext"> Label: THECA</span>
<span id="LC7" class="line" lang="plaintext"> Flags: CKA_CERTIFICATE_CATEGORY=CA; CKA_TRUSTED; </span>
<span id="LC8" class="line" lang="plaintext"> ID: 1a</span>
<span id="LC9" class="line" lang="plaintext"></span>
<span id="LC10" class="line" lang="plaintext">Object 1:</span>
<span id="LC11" class="line" lang="plaintext"> URL: pkcs11:library-description=Implementation%20of%20PKCS11;library-manufacturer=SoftHSM;model=SoftHSM%20v2;manufacturer=SoftHSM%20project;serial=058d033952c28e72;token=SW%20token%201;id=%1A;object=EC%20Test;type=cert</span>
<span id="LC12" class="line" lang="plaintext"> Type: X.509 Certificate (EC/ECDSA-SECP384R1)</span>
<span id="LC13" class="line" lang="plaintext"> Expires: Tue May 10 14:25:17 2022</span>
<span id="LC14" class="line" lang="plaintext"> Label: EC Test</span>
<span id="LC15" class="line" lang="plaintext"> ID: 1a</span>
<span id="LC16" class="line" lang="plaintext"></span>
<span id="LC17" class="line" lang="plaintext">Object 2:</span>
<span id="LC18" class="line" lang="plaintext"> URL: pkcs11:library-description=Implementation%20of%20PKCS11;library-manufacturer=SoftHSM;model=SoftHSM%20v2;manufacturer=SoftHSM%20project;serial=058d033952c28e72;token=SW%20token%201;type=cert</span>
<span id="LC19" class="line" lang="plaintext"> Type: X.509 Certificate</span>
<span id="LC20" class="line" lang="plaintext"> Label: </span>
<span id="LC21" class="line" lang="plaintext"> ID: </span>
<span id="LC22" class="line" lang="plaintext"></span>
<span id="LC23" class="line" lang="plaintext">Object 3:</span>
<span id="LC24" class="line" lang="plaintext"> URL: pkcs11:library-description=Implementation%20of%20PKCS11;library-manufacturer=SoftHSM;model=SoftHSM%20v2;manufacturer=SoftHSM%20project;serial=058d033952c28e72;token=SW%20token%201;type=cert</span>
<span id="LC25" class="line" lang="plaintext"> Type: X.509 Certificate</span>
<span id="LC26" class="line" lang="plaintext"> Label: </span>
<span id="LC27" class="line" lang="plaintext"> ID: </span>
<span id="LC28" class="line" lang="plaintext"></span>
<span id="LC29" class="line" lang="plaintext">Object 4:</span>
<span id="LC30" class="line" lang="plaintext"> URL: pkcs11:library-description=Implementation%20of%20PKCS11;library-manufacturer=SoftHSM;model=SoftHSM%20v2;manufacturer=SoftHSM%20project;serial=058d033952c28e72;token=SW%20token%201;type=cert</span>
<span id="LC31" class="line" lang="plaintext"> Type: X.509 Certificate</span>
<span id="LC32" class="line" lang="plaintext"> Label: </span>
<span id="LC33" class="line" lang="plaintext"> ID: </span>
<span id="LC34" class="line" lang="plaintext"></span>
<span id="LC35" class="line" lang="plaintext">Object 5:</span>
<span id="LC36" class="line" lang="plaintext"> URL: pkcs11:library-description=Implementation%20of%20PKCS11;library-manufacturer=SoftHSM;model=SoftHSM%20v2;manufacturer=SoftHSM%20project;serial=058d033952c28e72;token=SW%20token%201;type=cert</span>
<span id="LC37" class="line" lang="plaintext"> Type: X.509 Certificate</span>
<span id="LC38" class="line" lang="plaintext"> Label: </span>
<span id="LC39" class="line" lang="plaintext"> ID: </span>
<span id="LC40" class="line" lang="plaintext"></span>
<span id="LC41" class="line" lang="plaintext">Are you sure you want to delete those objects? (y/N): </span></code></pre>
</div>
<div class="footer" style="margin-top: 10px;">
<p style="font-size: small; color: #777;">
—
<br>
Reply to this email directly or <a href="https://gitlab.com/gnutls/gnutls/-/issues/1000">view it on GitLab</a>.
<br>
You're receiving this email because of your account on gitlab.com.
If you'd like to receive fewer emails, you can
<a href="https://gitlab.com/-/sent_notifications/a517b02f1e3630c6cfdf5dab60bd13a0/unsubscribe">unsubscribe</a>
from this thread or
adjust your notification settings.
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":"View Issue","url":"https://gitlab.com/gnutls/gnutls/-/issues/1000"}}</script>
</p>
</div>
</body>
</html>