Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8a9fb353c5 |
@ -168,20 +168,4 @@
|
||||
|
||||
}
|
||||
|
||||
- (void)testSignatureOverflow{
|
||||
ECKeyPair *keys = [Curve25519 generateKeyPair];
|
||||
Byte message [4096] = {};
|
||||
NSData *data = [NSData dataWithBytes:&message length:4096];
|
||||
|
||||
@try {
|
||||
__unused NSData *signature = [Ed25519 sign:data withKeyPair:keys];
|
||||
XCTAssert(NO, @"Signature algorithm should have thrown on overflow");
|
||||
}
|
||||
@catch (NSException *exception) {
|
||||
XCTAssert(YES, @"Signing overflow detected");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@end
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
Pod::Spec.new do |s|
|
||||
s.name = "AxolotlKit"
|
||||
s.version = "0.6.2"
|
||||
s.version = "0.6.3"
|
||||
s.summary = "AxolotlKit is a Free implementation of the Axolotl protocol in Objective-C"
|
||||
s.homepage = "https://github.com/WhisperSystems/AxolotlKit"
|
||||
s.license = "GPLv2"
|
||||
@ -13,7 +13,7 @@ Pod::Spec.new do |s|
|
||||
s.ios.deployment_target = "6.0"
|
||||
s.osx.deployment_target = "10.8"
|
||||
s.requires_arc = true
|
||||
s.dependency '25519', '~> 1.8'
|
||||
s.dependency '25519', '~> 1.9'
|
||||
s.dependency 'HKDFKit', '~> 0.0.3'
|
||||
s.dependency 'ProtocolBuffers', '~> 1.9.7'
|
||||
end
|
||||
|
||||
Binary file not shown.
Loading…
Reference in New Issue
Block a user