Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
AE UTBM
Sith
Commits
44a6621a
Commit
44a6621a
authored
Aug 04, 2016
by
Skia
🤘
Browse files
Update settings
parent
70e72333
Pipeline
#85
passed with stage
in 2 minutes and 20 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
sith/settings_sample.py
View file @
44a6621a
...
...
@@ -12,6 +12,7 @@ https://docs.djangoproject.com/en/1.8/ref/settings/
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
import
os
import
binascii
from
django.utils.translation
import
ugettext_lazy
as
_
BASE_DIR
=
os
.
path
.
dirname
(
os
.
path
.
dirname
(
os
.
path
.
abspath
(
__file__
)))
...
...
@@ -323,7 +324,7 @@ SITH_EBOUTIC_ET_URL = "https://preprod-tpeweb.e-transactions.fr/cgi/MYchoix_page
SITH_EBOUTIC_PBX_SITE
=
"1520411"
SITH_EBOUTIC_PBX_RANG
=
"01"
SITH_EBOUTIC_PBX_IDENTIFIANT
=
"650995411"
SITH_EBOUTIC_HMAC_KEY
=
b
ytes
(
"0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF"
,
'utf-8'
)
SITH_EBOUTIC_HMAC_KEY
=
b
inascii
.
unhexlify
(
"0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF"
)
SITH_EBOUTIC_PUB_KEY
=
""
with
open
(
'./sith/et_keys/pubkey.pem'
)
as
f
:
SITH_EBOUTIC_PUB_KEY
=
f
.
read
()
...
...
Write
Preview
Supports
Markdown
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