urda / nistbeacon

Python 3 Library to access the NIST Randomness Beacon
https://urda.github.io/nistbeacon/
Apache License 2.0
10 stars 2 forks source link

Move crypto related constants into `NistBeaconCrypto` #12

Closed urda closed 8 years ago

urda commented 8 years ago

NIST_CER_FILE and NIST_RSA_KEY should probably be pushed into NistBeaconCrypto

$ ack NIST_CER_FILE
CHANGELOG.md
131:    - Original CER file as a string: `nist_beacon_constants.py - NIST_CER_FILE`    

nistbeacon/constants.py
72:NIST_CER_FILE = (

$ ack NIST_RSA_KEY
CHANGELOG.md
132:    - Original Public Key as a string: `nist_beacon_constants.py - NIST_RSA_KEY`    

nistbeacon/constants.py
119:NIST_RSA_KEY = (    

nistbeacon/nistbeaconcrypto.py
33:    _rsa_key = RSA.importKey(cn.NIST_RSA_KEY)
urda commented 8 years ago

This was a child issue of #14