diff --git a/CryptoPill.podspec b/CryptoPill.podspec new file mode 100644 index 0000000..03b28ed --- /dev/null +++ b/CryptoPill.podspec @@ -0,0 +1,15 @@ +Pod::Spec.new do |s| + + s.name = "CryptoPill" + s.version = "1.0.1" + s.summary = "CryptoPill is the crypto code used by Core Secret" + s.homepage = "https://github.com/seb-m/CryptoPill" + s.license = { :type => "MIT" } + s.author = { "Sébastien Martini" => "seb@dbzteam.org" } + s.source = { :git => "https://github.com/seb-m/CryptoPill.git", :tag => "1.0.1" } + s.platform = :ios, '7.0' + s.dependency 'libsodium-ios' + s.source_files = 'CryptoPill/**/*.{c,h,m}' + s.requires_arc = true + +end diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..e074672 --- /dev/null +++ b/LICENSE @@ -0,0 +1,19 @@ +Copyright (c) 2014 Sébastien Martini + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/README.md b/README.md index b706d5d..7936a38 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,18 @@ CryptoPill is the crypto code used by [Core Secret](http://coresecret.io). This is a standalone crypto library heavily relying on the crypto primitives introduced by [NaCl](http://nacl.cr.yp.to/). +## Install (CocoaPods) -## Install +[CocoaPods](http://cocoapods.org) is a dependency manager for Objective-C, which automates and simplifies the process of using 3rd-party libraries like AFNetworking in your projects. See the ["Getting Started" guide for more information](https://github.com/AFNetworking/AFNetworking/wiki/Getting-Started-with-AFNetworking). + +#### Podfile + +```ruby +platform :ios, '7.0' +pod "CryptoPill" +``` + +## Install (Manual) CryptoPill depends on [libsodium](https://github.com/jedisct1/libsodium) but this library is not directly provided by CryptoPill and must instead be included as a submodule. Follow these instructions to clone it and keep it in sync.