Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
JCS support for Python
======================

1. Setup
--------
Set PYTHONPATH to the src sub-directory

On Windows perform "CHCP 65001" to set the console in UTF-8 mode


2. Running
----------
$ cd test


3a Testing signature validation
-------------------------------
$ python validate.py ec-signature.json
$ python validate.py invalid-signature.json

3b Signing data
---------------
$ python signdata.py private-ec-p256-key.jwk unsigned.json
$ python signdata.py private-rsa-key.pem unsigned.json

Morty Proxy This is a proxified and sanitized view of the page, visit original site.