This repository was archived by the owner on May 18, 2026. It is now read-only.
Add Rust hlkx-sign tool for signing HLKX packages with PKCS#11#2
Draft
Copilot wants to merge 18 commits into
Draft
Add Rust hlkx-sign tool for signing HLKX packages with PKCS#11#2Copilot wants to merge 18 commits into
Copilot wants to merge 18 commits into
Conversation
Agent-Logs-Url: https://github.com/roblabla/OpenOpcSignTool/sessions/33cfdf85-c2c6-4c45-851f-047e688a8f6b Co-authored-by: roblabla <1069318+roblabla@users.noreply.github.com>
Agent-Logs-Url: https://github.com/roblabla/OpenOpcSignTool/sessions/33cfdf85-c2c6-4c45-851f-047e688a8f6b Co-authored-by: roblabla <1069318+roblabla@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
roblabla
May 12, 2026 14:23
View session
Agent-Logs-Url: https://github.com/roblabla/OpenOpcSignTool/sessions/00d18987-1787-4ca9-974b-53f16b61d89c Co-authored-by: roblabla <1069318+roblabla@users.noreply.github.com>
Agent-Logs-Url: https://github.com/roblabla/OpenOpcSignTool/sessions/00d18987-1787-4ca9-974b-53f16b61d89c Co-authored-by: roblabla <1069318+roblabla@users.noreply.github.com>
…orithm) Agent-Logs-Url: https://github.com/roblabla/OpenOpcSignTool/sessions/7c2391ff-578c-4d37-8e1e-a14ff583749e Co-authored-by: roblabla <1069318+roblabla@users.noreply.github.com>
…vacy Agent-Logs-Url: https://github.com/roblabla/OpenOpcSignTool/sessions/7c2391ff-578c-4d37-8e1e-a14ff583749e Co-authored-by: roblabla <1069318+roblabla@users.noreply.github.com>
Chrono doesn't support %.1f, only %.3f. To fix it, we just hardcode .0 instead.
…field Agent-Logs-Url: https://github.com/roblabla/OpenOpcSignTool/sessions/fbcca4ce-6099-4765-bc48-beabddd6c7ae Co-authored-by: roblabla <1069318+roblabla@users.noreply.github.com>
…itive Agent-Logs-Url: https://github.com/roblabla/OpenOpcSignTool/sessions/fbcca4ce-6099-4765-bc48-beabddd6c7ae Co-authored-by: roblabla <1069318+roblabla@users.noreply.github.com>
2726131 to
6505929
Compare
6505929 to
79b5a7f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
pkcs11.rs:extract_label()withPkcs11Uristruct that parsesobject=,token=, andpin-value=in one passtoken_label_matches()helper callspkcs11.get_token_info(slot)to compare trimmed token labelsload_certificate_derandpkcs11_sign: skip slots that don't matchtoken=; callmaybe_loginonly on matching slots with thepin-value=from the URIpinparameter from both public functionsmain.rs: removed--pkcs11-pinflag and all related pin-passing codeREADME.md: removed--pkcs11-pinreferences, addedpin-value=URI example, added timestamp flags to options table, updated object identification section