Skip to content

Sample code to generate response for consent-token challenges generated from IOS-XR boxes

License

Notifications You must be signed in to change notification settings

ios-xr/consent-token-signing-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Consent-token signing server

Consent-token is a feature supported in IOS-XR to provide an extra layer of protection before running certain privileged operations. The operations controlled by consent-token can be run only if the challenge generated by consent-token is signed by the authorized keys.

The ct_sim.py in this repo is a reference implementation of the Consent-token signing server. The Consent-token signing server can be used to sign challenge string generated from the IOS-XR box.

To sign the challenge requests, the script should be used as below:

ct_sim.py -p ct-priv-key-file -C challenge-string

ct-priv-key-file should be the private key corresponding to the public key added to the box using the key-package CLI's.

About

Sample code to generate response for consent-token challenges generated from IOS-XR boxes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages