Rule unknown ignore
# rule check version 1.0.0
Scenario 'ecdh': Bob verifies the signature from Alice
Given that I have an endpoint named 'outputEndpoint'
Given I have a 'public key' from 'FairBnB'
Given I have a 'string dictionary' named 'listingInfo'
Given I have a 'signature' named 'listingInfo.signature'
When I verify the 'listingInfo' has a signature in 'listingInfo.signature' by 'FairBnB'
Then print the string 'the follwing listing is verified'
Then print 'listingInfo'
Then pass the output to 'outputEndpoint'
IMPORTANT: before executing, open the link https://beeceptor.com/console/dyneorg to create the endpoint on beeceptor.com.
The zencode:
The "keys":