This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
This python script is aimed to help and teach how Krux can be used to sign files and create PEM public keys so openssl can be used to verify | |
Requirements: | |
- opencv, qrcode | |
pip install opencv-python qrcode | |
- This script also calls a openssl bash command, so it is required to have verification functionality | |
""" | |
import argparse |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
import requests | |
import argparse | |
HEADERS = { | |
"Accept": 'application/vnd.github+json', | |
"X-GitHub-Api-Version": "2022-11-28", | |
} | |
parser = argparse.ArgumentParser( |