mirror of
https://github.com/aljazceru/python-teos.git
synced 2025-12-17 22:24:23 +01:00
21 lines
435 B
Python
21 lines
435 B
Python
import logging
|
|
|
|
# PISA-SERVER
|
|
DEFAULT_PISA_API_SERVER = 'btc.pisa.watch'
|
|
DEFAULT_PISA_API_PORT = 9814
|
|
|
|
# PISA-CLI
|
|
CLIENT_LOG_FILE = 'pisa.log'
|
|
|
|
# CRYPTO
|
|
SUPPORTED_HASH_FUNCTIONS = ["SHA256"]
|
|
SUPPORTED_CIPHERS = ["AES-GCM-128"]
|
|
|
|
PUBLIC_KEY_FILE = "signing_key_pub.pem"
|
|
|
|
# Configure logging
|
|
logging.basicConfig(format='%(message)s', level=logging.INFO, handlers=[
|
|
logging.FileHandler(CLIENT_LOG_FILE),
|
|
logging.StreamHandler()
|
|
])
|