Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
D
dmlib
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
domotika
dmlib
Commits
40418db6
Commit
40418db6
authored
Jan 27, 2014
by
nextime
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Avoid stripping and padding on empty messages in AES256
parent
794d3b94
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
daemonizer.py
dmlib/daemonizer.py
+1
-0
dmcrypt.py
dmlib/dmcrypt.py
+1
-0
No files found.
dmlib/daemonizer.py
View file @
40418db6
...
...
@@ -133,6 +133,7 @@ class Daemonizer:
except
IOError
:
pid
=
None
return
pid
def
is_process_running
(
self
):
pid
=
self
.
get_pid
()
if
pid
:
...
...
dmlib/dmcrypt.py
View file @
40418db6
...
...
@@ -332,4 +332,5 @@ def B64AESDecrypt(key, iv, data):
decrypted
=
cipher
.
decrypt
(
decoded
)
except
:
decrypted
=
""
return
decrypted
return
StripPadding
(
decrypted
,
INTERRUPT
,
PAD
)
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