Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jamesog/AgeKit
A simple, modern and secure encryption Swift library with small explicit keys, and no config options.
https://github.com/jamesog/AgeKit
age age-encryption swift
Last synced: 3 months ago
JSON representation
A simple, modern and secure encryption Swift library with small explicit keys, and no config options.
- Host: GitHub
- URL: https://github.com/jamesog/AgeKit
- Owner: jamesog
- License: bsd-3-clause
- Created: 2023-02-04T10:35:33.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-04-12T09:28:22.000Z (almost 2 years ago)
- Last Synced: 2024-11-17T10:26:05.609Z (3 months ago)
- Topics: age, age-encryption, swift
- Language: Swift
- Homepage:
- Size: 58.6 KB
- Stars: 13
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-age - AgeKit - in-progress Swift implementation on top of CryptoKit. (Implementations)
README
# AgeKit: Swift implementation of age
[age](https://age-encryption.org) is a simple, modern and secure file encryption tool and format. It features small explicit keys, no config options, and UNIX-style composability.
AgeKit provides a Swift implementation of the library and format.
The reference Go implementation is available at [filippo.io/age](https://filippo.io/age).
## Implementation Notes
These features of age have been implemented:
- ✅ X25519 public/private keys
- ⚠️ Scrypt passphrases: this is implemented but there are issues with the format that have
compatibility issues with the Go version of the tool
- ✅ Armored (PEM) encoding and decoding
- ❌ SSH keys
- ❌ GitHub usersAgeKit uses features from CryptoKit and needs at least macOS 11 or iOS 14.
## Getting Started
To use AgeKit add the following dependency to `Package.swift`:
```swift
dependencies: [
.package(url: "https://github.com/jamesog/AgeKit.git", branch: "main"),
]
```You can then add the dependency to your target:
```swift
dependencies: [
"AgeKit",
]
```