Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
monkeysign
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
monkeysphere
monkeysign
Commits
8064ccb4
Unverified
Commit
8064ccb4
authored
7 years ago
by
anarcat
Browse files
Options
Downloads
Patches
Plain Diff
renew my pgp key
parent
c296bf82
No related branches found
No related tags found
No related merge requests found
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CONTRIBUTING.rst
+5
-2
5 additions, 2 deletions
CONTRIBUTING.rst
monkeysign/tests/files/7B75921E.asc
+179
-152
179 additions, 152 deletions
monkeysign/tests/files/7B75921E.asc
monkeysign/tests/test_ui.py
+4
-4
4 additions, 4 deletions
monkeysign/tests/test_ui.py
with
188 additions
and
158 deletions
CONTRIBUTING.rst
+
5
−
2
View file @
8064ccb4
...
...
@@ -351,9 +351,12 @@ To renew the keys, try::
mkdir ~/.gpg-tmp
chmod 700 ~/.gpg-tmp
gpg --homedir ~/.gpg-tmp --import 7B75921E.asc
gpg --homedir ~/.gpg-tmp --import
monkeysign/tests/files/
7B75921E.asc
gpg --homedir ~/.gpg-tmp --refresh-keys 8DC901CE64146C048AD50FBB792152527B75921E
gpg --homedir ~/.gpg-tmp --export-options export-minimal --armor --export 8DC901CE64146C048AD50FBB792152527B75921E > 7B75921E.asc
gpg --homedir ~/.gpg-tmp --export-options export-minimal --armor --export 8DC901CE64146C048AD50FBB792152527B75921E > monkeysign/tests/files/7B75921E.asc
Once that is done, the ``@skipIfDatePassed`` tests need to be adjusted
to not be skipped anymore.
It is also possible the key is just expired and there is no replacement.
In this case the solution is to try and find a similar test case and
...
...
This diff is collapsed.
Click to expand it.
monkeysign/tests/files/7B75921E.asc
+
179
−
152
View file @
8064ccb4
This diff is collapsed.
Click to expand it.
monkeysign/tests/test_ui.py
+
4
−
4
View file @
8064ccb4
...
...
@@ -202,7 +202,7 @@ class CliTestCase(CliBaseTest):
self
.
assertTrue
(
args
.
local
)
@skipIfDatePassed
(
'
201
7
-0
6-01
T00:00:00UTC
'
)
@skipIfDatePassed
(
'
201
8
-0
4-19
T00:00:00UTC
'
)
class
CliTestDialog
(
CliBaseTest
):
def
setUp
(
self
):
CliBaseTest
.
setUp
(
self
)
...
...
@@ -239,7 +239,7 @@ this tests for bug #716675"""
self
.
write_to_callback
(
"
\n\n
"
,
callback
)
# say 'default' twice
@skipIfDatePassed
(
'
201
7
-0
6-01
T00:00:00UTC
'
)
@skipIfDatePassed
(
'
201
8
-0
4-19
T00:00:00UTC
'
)
class
CliTestSpacedFingerprint
(
CliTestDialog
):
def
setUp
(
self
):
CliTestDialog
.
setUp
(
self
)
...
...
@@ -274,7 +274,7 @@ class BasicTests(BaseTestCase):
self
.
assertFalse
(
os
.
path
.
exists
(
self
.
homedir
))
@skipIfDatePassed
(
'
201
7
-0
6-01
T00:00:00UTC
'
)
@skipIfDatePassed
(
'
201
8
-0
4-19
T00:00:00UTC
'
)
class
SigningTests
(
BaseTestCase
):
pattern
=
'
7B75921E
'
...
...
@@ -477,7 +477,7 @@ this duplicates tests from the gpg code, but is necessary to test later function
os
.
unlink
(
outputfile
)
@skipIfDatePassed
(
'
201
7
-0
6-01
T00:00:00UTC
'
)
@skipIfDatePassed
(
'
201
8
-0
4-19
T00:00:00UTC
'
)
class
EmailFactoryTest
(
BaseTestCase
):
pattern
=
'
7B75921E
'
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment