Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
enzevalos
enzevalos_iphone
Commits
1a8ef194
Commit
1a8ef194
authored
Apr 01, 2019
by
Oliver Wiese
Browse files
add new testcase
parent
90e76dd5
Changes
1
Hide whitespace changes
Inline
Side-by-side
enzevalos_iphoneTests/AutocryptTest.swift
View file @
1a8ef194
...
...
@@ -118,6 +118,17 @@ class AutocryptTest: XCTestCase {
}
}
func
testEcDSAKey
(){
let
key
=
"""
TODO ADD Ecdsa key
"""
do
{
try
pgp
.
importKeys
(
key
:
key
,
pw
:
nil
,
isSecretKey
:
false
,
autocrypt
:
true
)
}
catch
{
print
(
error
)
}
}
func
createUser
(
adr
:
String
=
String
.
random
()
.
lowercased
(),
name
:
String
=
String
.
random
())
->
MCOAddress
{
return
MCOAddress
.
init
(
displayName
:
name
,
mailbox
:
adr
.
lowercased
())
}
...
...
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