Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file removed .gitmodules
Empty file.
14 changes: 7 additions & 7 deletions BlueCryptor.podspec
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
Pod::Spec.new do |s|
s.name = "BlueCryptor"
s.version = "2.0.1"
s.version = "2.1.0"
s.summary = "Swift cross-platform crypto library using CommonCrypto/libcrypto via Package Manager."
s.homepage = "https://github.com/Kitura/BlueCryptor"
s.license = { :type => "Apache License, Version 2.0" }
s.author = "IBM & Kitura Project Authors"
s.module_name = 'Cryptor'

s.requires_arc = true
s.swift_version = '5.1'
s.osx.deployment_target = "10.11"
s.ios.deployment_target = "10.0"
s.tvos.deployment_target = "10.0"
s.watchos.deployment_target = "2.0"
s.swift_version = '5.4'
s.osx.deployment_target = "11.5"
s.ios.deployment_target = "14.5"
s.tvos.deployment_target = "14.5"
s.watchos.deployment_target = "7.5"
s.source = { :git => "https://github.com/Kitura/BlueCryptor.git", :tag => s.version }
s.source_files = "Sources/Cryptor/*.swift"
s.pod_target_xcconfig = {
'SWIFT_VERSION' => '5.0',
'SWIFT_VERSION' => '5.4',
}
end
19 changes: 0 additions & 19 deletions Cryptor-iOS/Cryptor-iOS.h

This file was deleted.

24 changes: 0 additions & 24 deletions Cryptor-iOS/Info.plist

This file was deleted.

747 changes: 0 additions & 747 deletions Cryptor.xcodeproj/project.pbxproj

This file was deleted.

This file was deleted.

76 changes: 0 additions & 76 deletions Cryptor.xcodeproj/xcshareddata/xcschemes/Cryptor-iOS.xcscheme

This file was deleted.

95 changes: 0 additions & 95 deletions Cryptor.xcodeproj/xcshareddata/xcschemes/Cryptor.xcscheme

This file was deleted.

52 changes: 0 additions & 52 deletions Cryptor.xcodeproj/xcshareddata/xcschemes/CryptorTests.xcscheme

This file was deleted.

12 changes: 0 additions & 12 deletions Cryptor.xcodeproj/xcshareddata/xcschemes/xcschememanagement.plist

This file was deleted.

16 changes: 11 additions & 5 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version:5.0
// swift-tools-version:5.4
// The swift-tools-version declares the minimum version of Swift required to build this package.

//
Expand Down Expand Up @@ -32,20 +32,26 @@ var targetDependencies: [Target.Dependency] = []

let package = Package(
name: "Cryptor",
platforms: [
.macOS(.v11),
.iOS(.v14),
.tvOS(.v14),
.watchOS(.v7),
],
products: [
// Products define the executables and libraries produced by a package, and make them visible to other packages.
.library(
name: "Cryptor",
targets: ["Cryptor"]),
],
],
dependencies: dependencies,
targets: [
.target(
name: "Cryptor",
dependencies: targetDependencies,
exclude: ["Info.plist"]),
dependencies: targetDependencies),
.testTarget(
name: "CryptorTests",
dependencies: ["Cryptor"]),
]
],
swiftLanguageVersions: [SwiftVersion.version("5.4")]
)
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -211,8 +211,10 @@ Also provided are an API to pad a byte array (`[UInt8]`) such that it is an inte

## Restrictions

The following algorithm is not available on Linux since it is not supported by *OpenSSL*.
- Digest: MD2
The following algorithms are only available on Linux since Apple considers them cryptographically broken
- Digest: MD4
- Digest: MD5
- MD5 is available as an insecure algorithm

In all cases, use of unsupported APIs or algorithms will result in a Swift `fatalError()`, terminating the program and should be treated as a programming error.

Expand Down
Loading