-
Notifications
You must be signed in to change notification settings - Fork 4
/
README
40 lines (29 loc) · 1.16 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
libsimplepgp - C library for parsing OpenPGP messages.
Copyright 2011 Trevor Bentley
Provided under Apache License, Version 2.0
See LICENSE file for details
libsimplepgp is a library for loading PGP keys and decrypting PGP messages.
Instead of aiming to support the entire OpenPGP standard, as GnuPG does, this
project aims to support only the most common PGP message formats used for
encrypting e-mail messages.
Initial goals are:
* Parse secret and public keys
* Store secret keys in an in-memory keychain
* Decrypt message formats commonly found in e-mail communication:
- DSA/Elgamal and RSA asymmetric keys
- TripleDES, CAST5, and AES-256 symmetric ciphers
- SHA-1 hashes
- ZIP and ZLIB compression
* Support PC (UNIX-ish) platforms
* Support iOS (iPhone) platforms
Known limitations:
* No support for creating messages (encryption)
* No support for validating signatures
* No support for old formats, or deprecated message types
* Not thread-safe
Build for desktop with included autoconf script:
# ./configure && make && make install
Build and run example:
# make installcheck
Build static iOS library with Xcode or command-line:
# make ios