ubiquity-os / ubiquity-os-kernel

1 stars 20 forks source link

Error: Invalid signature #194

Closed rndquu closed 1 week ago

rndquu commented 2 weeks ago

Suddenly https://github.com/ubiquity-os-marketplace/text-conversation-rewards started failing with Error: Invalid signature.

Not sure if that's kernel or https://github.com/ubiquity-os-marketplace/text-conversation-rewards related.

rndquu commented 2 weeks ago

@whilefoo @gentlementlegen Pls help shed some light on the root cause

whilefoo commented 2 weeks ago

If you check here, you can see the plugin is run by both ubiquity-os and ubiquity-os-beta, but KERNEL_PUBLIC_KEY secret is set to ubiquity-os's public key so only those runs are successful.

One way to fix this would be to add both production and beta public keys to the SDK or have two secrets and set KERNEL_PUBLIC_KEY env based on which bot triggered the run

EDIT: I was wrong, the main branch doesn't use SDK yet, that's why it's working.

gentlementlegen commented 1 week ago

I am a bit puzzled by this problem as the other plug-ins using the SDK run fine currently and the conversation rewards also runs fine within my org when the KERNEL_PUBLIC_KEY is sent. According to the action logs the plug-in also did receive it yet failed.

gentlementlegen commented 1 week ago

/query @gentlementlegen

ubiquity-os-beta[bot] commented 1 week ago
Property Value
Wallet 0x0fC1b909ba9265A846b82CF4CE352fc3e7EeB2ED
gentlementlegen commented 1 week ago

@rndquu I reset the KERNEL_PUBLIC_KEY which seems to have solved the issue.

ubiquity-os-beta[bot] commented 1 week ago
+ Evaluating results. Please wait...
ubiquity-os-beta[bot] commented 1 week ago
! No price label has been set. Skipping permit generation.