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
# using pynacl, which uses libsodium | |
import nacl.secret | |
import nacl.bindings | |
from nacl.encoding import HexEncoder | |
# XSalsa20 Tests | |
print("Testing pynacl.secret.SecretBox ...") | |
# Test cases generated by naclcrypto-20090308, used by Crypto++ and XSalsa20Engine BouncyCastle package |
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
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
# Testing SmartPGP applet up to a crash because of a memory leak | |
import os | |
from sys import path | |
import subprocess | |
import getpass | |
import hashlib |
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
Process: Python [853] | |
Path: /Library/Frameworks/Python.framework/Versions/3.9/Resources/Python.app/Contents/MacOS/Python | |
Identifier: org.python.python | |
Version: 3.9.6 (3.9.6) | |
Code Type: X86-64 (Native) | |
Parent Process: zsh [656] | |
Responsible: Terminal [653] | |
User ID: 501 | |
Date/Time: 2021-08-17 10:23:49.638 +0200 |
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
from logging import basicConfig, DEBUG | |
from time import sleep | |
from pywalletconnect.client import WCClient | |
# Enable for debug output | |
# basicConfig(level=DEBUG) | |
# Dapp demo, using the Ethereum Kovan network | |
# WC v1 at https://example.walletconnect.org/ |
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 platform | |
import signal | |
from logging import basicConfig, DEBUG | |
from threading import Event | |
from pywalletconnect.client import WCClient | |
# Enable for debug output | |
basicConfig(level=DEBUG) |