Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
opcua-asyncio
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nikola Balog
opcua-asyncio
Commits
fa3ffbae
Commit
fa3ffbae
authored
Dec 02, 2015
by
olivier R-D
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix automatic build and crypto dependencies
parent
19fdd66f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
.travis.yml
.travis.yml
+1
-0
opcua/uacrypto.py
opcua/uacrypto.py
+1
-1
No files found.
.travis.yml
View file @
fa3ffbae
...
...
@@ -11,5 +11,6 @@ install:
-
if [[ $TRAVIS_PYTHON_VERSION == 'pypy' ]]; then pip install futures ; fi
-
if [[ $TRAVIS_PYTHON_VERSION == 'pypy' ]]; then pip install trollius ; fi
-
if [[ $TRAVIS_PYTHON_VERSION == 'pypy' ]]; then pip install enum34 ; fi
pip install pycrypto
# command to run tests
script
:
./run-tests.sh
opcua/uacrypto.py
View file @
fa3ffbae
...
...
@@ -4,7 +4,6 @@ from ssl import DER_cert_to_PEM_cert
import
base64
import
hashlib
import
OpenSSL
from
Crypto.Signature
import
PKCS1_v1_5
from
Crypto.Hash
import
SHA256
...
...
@@ -85,6 +84,7 @@ def sign_sha1(key, data):
if
__name__
==
"__main__"
:
import
OpenSSL
# Convert from PEM to DER
pem
=
open
(
"../examples/server_cert.pem"
).
read
()
der
=
PEM_cert_to_DER_cert
(
pem
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment