Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
labs
podepsano-mock-shop
Commits
dc0dc7b3
Commit
dc0dc7b3
authored
Aug 09, 2012
by
Opi Danihelka
Browse files
Removed unused comments.
parent
034c3621
Changes
2
Hide whitespace changes
Inline
Side-by-side
notary/mockprovider/views.py
View file @
dc0dc7b3
...
...
@@ -27,8 +27,6 @@ def finish_order(request):
# check signature
sig_ok
=
None
res
=
podepsano
.
verify_xml
(
settings
.
NOTARY_CERTIFICATE_PATH
,
xml_data
)
#res = podepsano.verify_xml("/home/opi/prog/NIC/podepsano_mock/cert/", xml_data)
#res = podepsano.verify_xml(["/home/opi/prog/NIC/podepsano_mock/cert/postsignum_qca2_root.pem", "/home/opi/prog/NIC/podepsano_mock/cert/postsignum_qca2_sub.pem"], xml_data)
if
res
==
podepsano
.
SIGNATURE_VALID
:
sig_ok
=
True
elif
res
==
podepsano
.
SIGNATURE_INVALID
:
...
...
notary/settings.py
View file @
dc0dc7b3
...
...
@@ -16,8 +16,6 @@ TEMPLATE_DEBUG = DEBUG
NOTARY_SCHEMA_FILE
=
basedir_share
(
"../xsd/schema.xsd"
)
NOTARY_CERTIFICATE_PATH
=
basedir_share
(
NOTARY_CERTIFICATE_FILE
)
#NOTARY_CERTIFICATE_PATH = basedir_share("../cert/podepsano_public_certificate.pem")
#NOTARY_PRIV_KEY_PATH = basedir_share("../cert/podepsano_private_key.pem")
ADMINS
=
(
# ('Your Name', 'your_email@domain.com'),
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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