Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gajim-plugins
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
78
Issues
78
List
Boards
Labels
Milestones
Merge Requests
31
Merge Requests
31
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
gajim
gajim-plugins
Commits
af45dd3b
Commit
af45dd3b
authored
Jun 29, 2018
by
Alexander Krotov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable secure_delete pragma for omemo database connection
parent
5dd424a5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
omemo/omemo_connection.py
omemo/omemo_connection.py
+1
-0
No files found.
omemo/omemo_connection.py
View file @
af45dd3b
...
...
@@ -94,6 +94,7 @@ class OMEMOConnection:
data_dir
=
configpaths
.
get
(
'MY_DATA'
)
db_path
=
os
.
path
.
join
(
data_dir
,
'omemo_'
+
self
.
own_jid
+
'.db'
)
conn
=
sqlite3
.
connect
(
db_path
,
check_same_thread
=
False
)
conn
.
execute
(
"PRAGMA secure_delete=1"
)
return
OmemoState
(
self
.
own_jid
,
conn
,
self
.
account
,
self
)
def
signed_in
(
self
,
event
):
...
...
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