Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gajim-plugins
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
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
muelli
gajim-plugins
Commits
37105a88
Commit
37105a88
authored
Sep 09, 2018
by
Philipp Hörist
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[openpgp] Bugfixes
- dont pass Path instance to sqlite3.connect() - add keydate to devicelist publish
parent
585e5666
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
openpgp/backend/sql.py
openpgp/backend/sql.py
+1
-1
openpgp/modules/openpgp.py
openpgp/modules/openpgp.py
+1
-2
No files found.
openpgp/backend/sql.py
View file @
37105a88
...
...
@@ -36,7 +36,7 @@ TABLE_LAYOUT = '''
class
Storage
:
def
__init__
(
self
,
folder_path
):
self
.
_con
=
sqlite3
.
connect
(
folder_path
/
'contacts.db'
,
self
.
_con
=
sqlite3
.
connect
(
str
(
folder_path
/
'contacts.db'
)
,
detect_types
=
sqlite3
.
PARSE_DECLTYPES
)
self
.
_con
.
row_factory
=
self
.
_namedtuple_factory
self
.
_create_database
()
...
...
openpgp/modules/openpgp.py
View file @
37105a88
...
...
@@ -32,7 +32,6 @@ from openpgp.modules.util import NS_OPENPGP_PUBLIC_KEYS
from
openpgp.modules.util
import
NS_OPENPGP
from
openpgp.modules.util
import
Key
from
openpgp.modules.util
import
Trust
from
openpgp.modules.util
import
VerifyFailed
from
openpgp.modules.util
import
DecryptionFailed
from
openpgp.backend.sql
import
Storage
from
openpgp.backend.pygpg
import
PGPContext
...
...
@@ -412,7 +411,7 @@ class OpenPGP:
return
log
.
info
(
'Own key not published'
)
if
self
.
_fingerprint
is
not
None
:
keylist
.
append
(
Key
(
self
.
_fingerprint
,
Non
e
))
keylist
.
append
(
Key
(
self
.
_fingerprint
,
self
.
_dat
e
))
self
.
_publish_key_list
(
keylist
)
return
...
...
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