Code Monkey home page Code Monkey logo

pgp-example's Introduction

PGP iOS Example

This is an example project demonstrating how to use PGP encryption and decryption in an iOS app. It uses the Objective-C implementation of the OpenPGP standard, OpenPGP.framework.

Features ❤️

  • Manage Keychain:
    • Generate new keys: public and private keys
    • Import key from local file url
    • Import key from clipboard
  • Signing the message with private key, output with the signature
  • Verify if signature was signed with one of the given keys.
  • Get the plain text from the signed message
  • Encrypt data
  • Decrypt PGP encrypted data
  • Others:
    • Export keys to local files (*.gpg)

Application

List Keys Generate New Key Key Detail
Signing Verify Signing
Encryption Decryption Settings

TO DO

  • Save keys to Core Data
  • Optimize UI: Add empty background UI for List Keys screen if it have no key in the app
  • Delete specific Key in List Keys screen
  • Delete all keys

Requirements

  • iOS 15.0+
  • Xcode 11+

Installation

  • To install the app, clone the repository and open the PGP-example.xcworkspace file in Xcode.

Security Audit

The cryptographic library used by PGPro, ObjectivePGP, has undergone a complete security audit from Cure53.

Acknowledgment

This project uses the ObjectivePGP library developed by Marcin Krzyżanowski. Thereby it uses software developed by the OpenSSL Project for use in the OpenSSL Toolkit.

Contribution

You are welcome to contribute. Please create a Pull Request.

Author

Hoàng Trọng Kiên (Bradley)

Reference

pgp-example's People

Contributors

kien-hoang avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.