Skip to content

feat: expanded signer definition API#92

Open
emensch wants to merge 1 commit intomainfrom
expanded-signer-api
Open

feat: expanded signer definition API#92
emensch wants to merge 1 commit intomainfrom
expanded-signer-api

Conversation

@emensch
Copy link
Contributor

@emensch emensch commented Mar 3, 2026

No description provided.

@changeset-bot
Copy link

changeset-bot bot commented Mar 3, 2026

⚠️ No Changeset found

Latest commit: 669bcdb

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link
Contributor

@ale-adobe ale-adobe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks promising! Let me know if you'd like a more formal review and ✅ .

@@ -0,0 +1,3 @@
-----BEGIN PRIVATE KEY-----
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Feels weird to commit the private key, but I guess we don't have many other choices. 🤔

function str2ab(str: string): ArrayBuffer {
const buf = new ArrayBuffer(str.length);
const bufView = new Uint8Array(buf);
for (let i = 0, strLen = str.length; i < strLen; i++) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: can we simplify?

Suggested change
for (let i = 0, strLen = str.length; i < strLen; i++) {
for (let i = 0, i < str.length; i++) {

fn direct_cose_handling(&self) -> bool {
// @TODO: make configurable
true
self.direct_cose_handling
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉

expect(activeManifest.signature_info).toMatchObject({
alg: 'Ed25519',
cert_serial_number:
'638838410810235485828984295321338730070538954823',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where is this coming from?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants