fredericjacobs / 25519 Goto Github PK
View Code? Open in Web Editor NEWKey agreement (X25519) and signing (ed25519), X25519 keys.
Home Page: http://cocoadocs.org/docsets/25519
License: GNU General Public License v2.0
Key agreement (X25519) and signing (ed25519), X25519 keys.
Home Page: http://cocoadocs.org/docsets/25519
License: GNU General Public License v2.0
Super minor: the license mentioned in the readme does not match with the license in LICENSE. GPLv3 and GPLv2 respectively.
Known issues when data is too small (17 bytes) or too large (8mb)
This library is used in Signal. I get the following error when I try to integrate their signal libraries from 25519. Is there any build setting that will solve this issue.
.../Pods/AxolotlKit/AxolotlKit/Classes/Ratchet/AxolotlParameters.h:10:9: '25519/Curve25519.h' file not found
steps to reproduce:
1 . open test project (e.g. ios single view app)
2 . add a podfile like this
platform :ios
pod '25519'
3 . open *.xcworkspace and build ... everything is fine
4 . alter podfile to look like this
platform :ios
pod '25519'
pod 'AFNetworking'
5 . pod install leads to (this error + unusable *.xcworkspace)
CocoaPods : 0.35.0
Ruby : ruby 2.0.0p481 (2014-05-08 revision 45883) [universal.x86_64-darwin14]
RubyGems : 2.0.14
Host : Mac OS X 10.10.2 (14C109)
Xcode : 6.1.1 (6A2008a)
Git : git version 1.9.3 (Apple Git-50)
Ruby lib dir : /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib
Repositories : master - https://github.com/CocoaPods/Specs.git @ 403f6ccb21a75839b1790d03e65fca5b2d0e526b
cocoapods-plugins : 0.4.1
cocoapods-trunk : 0.4.0
cocoapods-try : 0.4.3
platform :ios
pod '25519'
pod 'AFNetworking'
NoMethodError - undefined method `match' for 25519:Fixnum
/Library/Ruby/Gems/2.0.0/gems/cocoapods-core-0.35.0/lib/cocoapods-core/dependency.rb:327:in `from_string'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-core-0.35.0/lib/cocoapods-core/lockfile.rb:117:in `block in dependencies'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-core-0.35.0/lib/cocoapods-core/lockfile.rb:116:in `map'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-core-0.35.0/lib/cocoapods-core/lockfile.rb:116:in `dependencies'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-core-0.35.0/lib/cocoapods-core/lockfile.rb:260:in `detect_changes_with_podfile'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.35.0/lib/cocoapods/installer/analyzer.rb:154:in `block in generate_podfile_state'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.35.0/lib/cocoapods/user_interface.rb:49:in `section'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.35.0/lib/cocoapods/installer/analyzer.rb:153:in `generate_podfile_state'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.35.0/lib/cocoapods/installer/analyzer.rb:53:in `analyze'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.35.0/lib/cocoapods/installer.rb:184:in `analyze'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.35.0/lib/cocoapods/installer.rb:106:in `block in resolve_dependencies'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.35.0/lib/cocoapods/user_interface.rb:49:in `section'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.35.0/lib/cocoapods/installer.rb:105:in `resolve_dependencies'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.35.0/lib/cocoapods/installer.rb:90:in `install!'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.35.0/lib/cocoapods/command/project.rb:71:in `run_install_with_update'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.35.0/lib/cocoapods/command/project.rb:101:in `run'
/Library/Ruby/Gems/2.0.0/gems/claide-0.7.0/lib/claide/command.rb:271:in `run'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.35.0/lib/cocoapods/command.rb:45:in `run'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.35.0/bin/pod:43:in `<top (required)>'
/usr/bin/pod:23:in `load'
/usr/bin/pod:23:in `<main>'
When used in a static library I found that installing 25519 (v1.5) would result in linker errors when attempting to compile & run tests. The issue was resolved by including pod "curve25519-donna"
in the Podfile.
ld: warning: directory not found for option '-L/Users/jackwink/dev/AFSecure/AFSecure/Pods/build/Debug-iphoneos'
Undefined symbols for architecture i386:
"_curve25519_donna", referenced from:
+[ECKeyPair generateKeyPair] in libAFSecure.a(Curve25519.o)
-[ECKeyPair generateSharedSecretFromPublicKey:] in libAFSecure.a(Curve25519.o)
ld: symbol(s) not found for architecture i386
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.