summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitattributes1
-rw-r--r--.gitlab-ci.yml48
-rw-r--r--.gitlab-ci/test-msys2.sh33
-rw-r--r--Cargo.lock898
-rw-r--r--Cargo.toml31
-rw-r--r--Makefile2
-rw-r--r--README.android185
-rw-r--r--README.md66
-rw-r--r--autocrypt/Cargo.toml8
-rw-r--r--autocrypt/src/cert.rs2
-rw-r--r--autocrypt/src/lib.rs248
-rw-r--r--buffered-reader/Cargo.toml2
-rw-r--r--buffered-reader/src/dup.rs4
-rw-r--r--buffered-reader/src/eof.rs2
-rw-r--r--buffered-reader/src/file_unix.rs6
-rw-r--r--buffered-reader/src/generic.rs2
-rw-r--r--buffered-reader/src/lib.rs29
-rw-r--r--buffered-reader/src/limitor.rs6
-rw-r--r--buffered-reader/src/memory.rs4
-rw-r--r--buffered-reader/src/reserve.rs6
-rw-r--r--core/Cargo.toml4
-rw-r--r--doc/release-checklist.md16
-rw-r--r--examples/guide-exploring-openpgp.rs3
-rw-r--r--examples/guide-the-keystore.rs2
-rw-r--r--ffi-macros/Cargo.toml4
-rw-r--r--ffi-macros/src/lib.rs26
-rw-r--r--ffi/Cargo.toml14
-rw-r--r--ffi/Makefile4
-rw-r--r--ffi/src/net.rs2
-rw-r--r--ffi/src/store.rs4
-rw-r--r--guide/Cargo.toml6
-rw-r--r--guide/src/chapter_00.md14
-rw-r--r--guide/src/chapter_01.md32
-rw-r--r--guide/src/chapter_02.md130
-rw-r--r--guide/src/chapter_03.md6
-rw-r--r--ipc/Cargo.toml14
-rw-r--r--ipc/examples/gpg-agent-decrypt.rs16
-rw-r--r--ipc/examples/gpg-agent-sign.rs2
-rw-r--r--ipc/src/assuan/mod.rs17
-rw-r--r--ipc/src/gnupg.rs26
-rw-r--r--ipc/src/lib.rs120
-rw-r--r--ipc/tests/gpg-agent.rs47
-rw-r--r--net/Cargo.toml8
-rw-r--r--net/src/lib.rs7
-rw-r--r--net/tests/hkp.rs7
-rw-r--r--openpgp-ffi/Cargo.toml8
-rw-r--r--openpgp-ffi/Makefile4
-rw-r--r--openpgp-ffi/examples/decrypt-with.c8
-rw-r--r--openpgp-ffi/include/sequoia/openpgp.h223
-rw-r--r--openpgp-ffi/include/sequoia/openpgp/crypto.h4
-rw-r--r--openpgp-ffi/include/sequoia/openpgp/packet.h2
-rw-r--r--openpgp-ffi/include/sequoia/openpgp/types.h29
-rw-r--r--openpgp-ffi/src/amalgamation.rs112
-rw-r--r--openpgp-ffi/src/armor.rs2
-rw-r--r--openpgp-ffi/src/cert.rs309
-rw-r--r--openpgp-ffi/src/common.rs1
-rw-r--r--openpgp-ffi/src/fingerprint.rs6
-rw-r--r--openpgp-ffi/src/io.rs6
-rw-r--r--openpgp-ffi/src/key_amalgamation.rs54
-rw-r--r--openpgp-ffi/src/keyid.rs2
-rw-r--r--openpgp-ffi/src/packet/key.rs2
-rw-r--r--openpgp-ffi/src/packet/pkesk.rs8
-rw-r--r--openpgp-ffi/src/packet/userid.rs13
-rw-r--r--openpgp-ffi/src/parse/stream.rs204
-rw-r--r--openpgp-ffi/src/serialize.rs63
-rw-r--r--openpgp/Cargo.toml43
-rw-r--r--openpgp/README.md49
-rw-r--r--openpgp/examples/decrypt-with.rs16
-rw-r--r--openpgp/examples/encrypt-for.rs17
-rw-r--r--openpgp/examples/generate-encrypt-decrypt.rs29
-rw-r--r--openpgp/examples/generate-sign-verify.rs7
-rw-r--r--openpgp/examples/notarize.rs2
-rw-r--r--openpgp/examples/pad.rs15
-rw-r--r--openpgp/examples/sign-detached.rs2
-rw-r--r--openpgp/examples/sign.rs2
-rw-r--r--openpgp/examples/wrap-literal.rs2
-rw-r--r--openpgp/src/armor.rs276
-rw-r--r--openpgp/src/build/build.rs1
-rw-r--r--openpgp/src/build/mod.rs2
-rw-r--r--openpgp/src/cert/amalgamation.rs1353
-rw-r--r--openpgp/src/cert/amalgamation/iter.rs388
-rw-r--r--openpgp/src/cert/amalgamation/key.rs1937
-rw-r--r--openpgp/src/cert/amalgamation/key/iter.rs1656
-rw-r--r--openpgp/src/cert/bindings.rs40
-rw-r--r--openpgp/src/cert/builder.rs829
-rw-r--r--openpgp/src/cert/bundle.rs848
-rw-r--r--openpgp/src/cert/component_iter.rs222
-rw-r--r--openpgp/src/cert/components.rs495
-rw-r--r--openpgp/src/cert/key_amalgamation.rs909
-rw-r--r--openpgp/src/cert/keyiter.rs1075
-rw-r--r--openpgp/src/cert/mod.rs2759
-rw-r--r--openpgp/src/cert/parser/low_level/grammar.lalrpop4
-rw-r--r--openpgp/src/cert/parser/low_level/grammar.rs1
-rw-r--r--openpgp/src/cert/parser/low_level/lexer.rs4
-rw-r--r--openpgp/src/cert/parser/mod.rs743
-rw-r--r--openpgp/src/cert/prelude.rs59
-rw-r--r--openpgp/src/cert/revoke.rs858
-rw-r--r--openpgp/src/crypto/aead.rs29
-rw-r--r--openpgp/src/crypto/asymmetric.rs60
-rw-r--r--openpgp/src/crypto/ecdh.rs12
-rw-r--r--openpgp/src/crypto/hash.rs122
-rw-r--r--openpgp/src/crypto/keygrip.rs89
-rw-r--r--openpgp/src/crypto/mem.rs24
-rw-r--r--openpgp/src/crypto/mod.rs32
-rw-r--r--openpgp/src/crypto/mpi.rs (renamed from openpgp/src/crypto/mpis.rs)17
-rw-r--r--openpgp/src/crypto/s2k.rs5
-rw-r--r--openpgp/src/crypto/sexp.rs141
-rw-r--r--openpgp/src/crypto/symmetric.rs16
-rw-r--r--openpgp/src/fingerprint.rs118
-rw-r--r--openpgp/src/fmt.rs68
-rw-r--r--openpgp/src/keyhandle.rs26
-rw-r--r--openpgp/src/keyid.rs150
-rw-r--r--openpgp/src/lib.rs245
-rw-r--r--openpgp/src/macros.rs1
-rw-r--r--openpgp/src/message/lexer.rs4
-rw-r--r--openpgp/src/message/mod.rs336
-rw-r--r--openpgp/src/packet/aed.rs166
-rw-r--r--openpgp/src/packet/compressed_data.rs58
-rw-r--r--openpgp/src/packet/container.rs402
-rw-r--r--openpgp/src/packet/header/ctb.rs91
-rw-r--r--openpgp/src/packet/header/mod.rs60
-rw-r--r--openpgp/src/packet/key.rs (renamed from openpgp/src/packet/key/mod.rs)1530
-rw-r--r--openpgp/src/packet/key/conversions.rs430
-rw-r--r--openpgp/src/packet/literal.rs39
-rw-r--r--openpgp/src/packet/marker.rs19