forked from signalapp/Curve25519Kit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCurve25519Kit.podspec
29 lines (25 loc) · 1.52 KB
/
Curve25519Kit.podspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Pod::Spec.new do |spec|
spec.name = 'Curve25519Kit'
spec.version = '2.1.0'
spec.license = { :type => 'GPLv3' }
spec.homepage = 'https://github.com/WhisperSystems/Curve25519Kit'
spec.preserve_path = 'Sources/ed25519/**/*.{c,h}'
spec.authors = { 'Frederic Jacobs' => '[email protected]' }
spec.summary = 'Key agreement (curve25519) and signing (ed25519), all with curve25519 keys.'
spec.description = <<-DESC
Curve25519 is a fast and secure curve used for key agreement. Unfortunately, it does not support signing out of the box. This pod translates the point curves to do ed25519 signing with curve25519 keys.
DESC
spec.source = { :git => 'https://github.com/signalapp/Curve25519Kit.git', :tag => "#{spec.version}" }
spec.source_files = 'Classes/*.{h,m,swift}', 'Sources/Curve25519/curve25519-donna.c', 'Sources/ed25519/*.{c,h}', 'Sources/ed25519/additions/*.{c,h}', 'Sources/ed25519/nacl_sha512/*.{c,h}', 'Sources/ed25519/nacl_includes/*.{c,h}', 'Private/*.{h,m}'
spec.public_header_files = 'Classes/**/*.h'
#spec.private_header_files = 'Sources/ed25519/nacl_includes/*.h','Sources/ed25519/additions/*.h', 'Sources/ed25519/nacl_sha512/*.h'
spec.framework = 'Security'
spec.public_header_files = "Classes/*.h"
spec.requires_arc = true
spec.ios.deployment_target = "9.0"
spec.dependency 'CocoaLumberjack'
spec.dependency 'SignalCoreKit'
spec.test_spec 'Tests' do |test_spec|
test_spec.source_files = 'BuildTests/BuildTestsTests/**/*.{h,m,swift}'
end
end