Contents

ATProtoKit/ATCryptography

A Swift library providing cryptographic utilities for the AT Protocol.

Installation

You can use the Swift Package Manager to download and import the library into your project:

dependencies: [
    .package(url: "https://github.com/ATProtoKit/ATCryptography.git", from: "0.2.0")
]

Then under targets:

targets: [
    .target(
        // name: "[name of target]",
        dependencies: [
            .product(name: "ATCryptography", package: "atcryptography")
        ]
    )
]

Requirements

ATCryptography is designed to be a server application. For a Linux server, Swift 6.0 or later is required. The minimum requirements include:

  • Amazon Linux 2
  • Debian 12
  • Fedora 39
  • Red Hat UBI 9
  • Ubuntu 20.04

You can also use it on macOS. Please target macOS 13 or later.

If you really need to use it in a client, here are the requirements for each platform:

  • iOS and iPadOS 14
  • tvOS 14
  • visionOS 1
  • watchOS 9

You can also use this project for any programs you make using Swift and running on Docker.

[!WARNING] As of right now, Windows support is theoretically possible, but not has not been tested to work. Contributions and feedback on making it fully compatible for Windows and Windows Server are welcomed.

Submitting Contributions and Feedback

While this project will change significantly, feedback, issues, and contributions are highly welcomed and encouraged. If you'd like to contribute to this project, please be sure to read both the API Guidelines as well as the Contributor Guidelines before submitting a pull request. Any issues (such as bug reports or feedback) can be submitted in the Issues tab. Finally, if there are any security vulnerabilities, please read SECURITY.md for how to report it.

If you have any questions, you can ask me on Bluesky (@cjrriley.ca). And while you're at it, give me a follow! I'm also active on the Bluesky API Touchers Discord server.

License

This Swift package is using the Apache 2.0 License. Please view LICENSE.md for more details.

Package Metadata

Repository: ATProtoKit/ATCryptography

Homepage: https://swiftpackageindex.com/ATProtoKit/ATCryptography/documentation/atcryptography

Stars: 13

Forks: 3

Open issues: 0

Default branch: main

Primary language: swift

License: Apache-2.0

Topics: api, atproto, atprotocol, bluesky, cryptography, k256, p256, server-side-swift, swift, swift-package-manager

README: README.md