Skip to content
Snippets Groups Projects
Commit 1a8ef194 authored by Oliver Wiese's avatar Oliver Wiese
Browse files

add new testcase

parent 90e76dd5
No related branches found
No related tags found
No related merge requests found
...@@ -118,6 +118,17 @@ class AutocryptTest: XCTestCase { ...@@ -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 { func createUser(adr: String = String.random().lowercased(), name: String = String.random()) -> MCOAddress {
return MCOAddress.init(displayName: name, mailbox: adr.lowercased()) return MCOAddress.init(displayName: name, mailbox: adr.lowercased())
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment