Questions tagged [pynacl]
49 questions
0
votes
1 answer
Why doesn't PyNacl work in IBM OpenWhisk?
Importing pynacl crashes when I upload a python zip to IBM Cloud Functions. Is that because it has C code instead of being pure python? How can I get around this?

Russell
- 21
- 2
0
votes
1 answer
PyNaCl failed to import SealedBox
My code fails with this line:
from nacl.public import PrivateKey, SealedBox
I got this error: ImportError: cannot import name 'SealedBox'
I am using Python 3.6. Anyone has any idea how this happen?

CaTx
- 1,421
- 4
- 21
- 42
0
votes
1 answer
Where to stock key used for token generation in email confirmation
I have this source code in ruby:
Ruby code
I am trying to build an approximately similar class.
I have this endpoint:
@register_endpoint.route('/', methods=['POST'])
def process_signup_form():
form = InitializeAccountForm(request.form)
if…

mel
- 2,730
- 8
- 35
- 70
0
votes
0 answers
pynacl fails, while building (setup.py)
I have tried in multiple environments, debian 8, ubuntu 14.04, and ubuntu 16.04 and when I try to install pynacl it gives this error
Collecting pynacl
Downloading PyNaCl-1.1.2.tar.gz (3.1MB)
100% |████████████████████████████████| 3.1MB…

Bob Kmak
- 1
- 2