summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.Makefile (renamed from Makefile)47
-rw-r--r--.cargo/config.toml12
-rwxr-xr-x.ci/all_commits.sh26
-rw-r--r--.ci/snippet_for_cross_compilation_config.toml4
-rw-r--r--.dockerignore7
-rw-r--r--.gitignore3
-rw-r--r--.gitlab-ci.yml433
-rw-r--r--CONTRIBUTING.md2
-rw-r--r--Cargo.lock3113
-rw-r--r--Cargo.toml7
-rw-r--r--Dockerfile60
-rw-r--r--LICENSE.txt601
-rw-r--r--README.md224
-rw-r--r--autocrypt/Cargo.toml12
l---------autocrypt/LICENSE.txt1
-rw-r--r--autocrypt/README.md4
-rw-r--r--autocrypt/src/lib.rs155
-rw-r--r--buffered-reader/Cargo.toml8
l---------buffered-reader/LICENSE.txt1
-rw-r--r--buffered-reader/NEWS25
-rw-r--r--buffered-reader/src/adapter.rs2
-rw-r--r--buffered-reader/src/decompress_bzip2.rs22
-rw-r--r--buffered-reader/src/decompress_deflate.rs46
-rw-r--r--buffered-reader/src/dup.rs10
-rw-r--r--buffered-reader/src/eof.rs17
-rw-r--r--buffered-reader/src/file_error.rs1
-rw-r--r--buffered-reader/src/file_unix.rs32
-rw-r--r--buffered-reader/src/generic.rs80
-rw-r--r--buffered-reader/src/lib.rs50
-rw-r--r--buffered-reader/src/limitor.rs23
-rw-r--r--buffered-reader/src/macros.rs113
-rw-r--r--buffered-reader/src/memory.rs10
-rw-r--r--buffered-reader/src/reserve.rs5
-rw-r--r--clippy.toml7
-rw-r--r--core/Cargo.toml27
-rw-r--r--doc/msrv.md12
-rw-r--r--doc/release-checklist.md51
-rw-r--r--ffi-macros/Cargo.toml32
-rw-r--r--ffi-macros/README.md1
-rw-r--r--ffi-macros/src/lib.rs1029
-rw-r--r--ffi-macros/src/rust2c.rs175
-rw-r--r--ffi/.gitignore1
-rw-r--r--ffi/Cargo.toml50
-rw-r--r--ffi/Makefile93
-rw-r--r--ffi/examples/Makefile28
-rw-r--r--ffi/examples/configure.c51
-rw-r--r--ffi/examples/keyserver.c56
-rw-r--r--ffi/include/sequoia.h10
-rw-r--r--ffi/include/sequoia/core.h208
-rw-r--r--ffi/include/sequoia/net.h69
-rw-r--r--ffi/include/sequoia/store.h407
-rw-r--r--ffi/lang/python/.gitignore8
-rw-r--r--ffi/lang/python/Makefile89
-rw-r--r--ffi/lang/python/README.md5
-rw-r--r--ffi/lang/python/examples/decrypt.py42
-rw-r--r--ffi/lang/python/sequoia/__init__.py8
-rw-r--r--ffi/lang/python/sequoia/core.py127
-rw-r--r--ffi/lang/python/sequoia/error.py69
-rw-r--r--ffi/lang/python/sequoia/glue.py127
-rw-r--r--ffi/lang/python/sequoia/net.py37
-rw-r--r--ffi/lang/python/sequoia/openpgp.py361
-rw-r--r--ffi/lang/python/sequoia/prelude.py6
-rw-r--r--ffi/lang/python/sequoia/sequoia_build.py60
-rw-r--r--ffi/lang/python/sequoia/store.py243
-rw-r--r--ffi/lang/python/setup.cfg2
-rw-r--r--ffi/lang/python/setup.py41
-rw-r--r--ffi/lang/python/tests/test_armor.py70
-rw-r--r--ffi/lang/python/tests/test_cert.py75
-rw-r--r--ffi/lang/python/tests/test_fingerprint.py45
-rw-r--r--ffi/lang/python/tests/test_keyid.py63
-rw-r--r--ffi/lang/python/tests/test_packet_parser.py53
-rw-r--r--ffi/lang/python/tests/test_store.py47
-rw-r--r--ffi/sequoia.pc.in11
-rw-r--r--ffi/src/core.rs192
-rw-r--r--ffi/src/error.rs95
-rw-r--r--ffi/src/lib.rs149
-rw-r--r--ffi/src/net.rs155
-rw-r--r--ffi/src/store.rs655
-rw-r--r--ffi/tests/c-tests.rs325
-rw-r--r--guide/Cargo.toml7
-rw-r--r--guide/src/chapter_01.md6
-rw-r--r--guide/src/chapter_02.md8
-rw-r--r--guide/src/chapter_03.md20
-rw-r--r--guide/src/lib.rs10
-rw-r--r--ipc/Cargo.toml33
l---------ipc/LICENSE.txt1
-rw-r--r--ipc/README.md4
-rw-r--r--ipc/build.rs1
-rw-r--r--ipc/examples/assuan-client.rs3
-rw-r--r--ipc/examples/gpg-agent-client.rs3
-rw-r--r--ipc/examples/gpg-agent-decrypt.rs66
-rw-r--r--ipc/examples/gpg-agent-sign.rs51
-rw-r--r--ipc/src/assuan/grammar.lalrpop5
-rw-r--r--ipc/src/assuan/lexer.rs1
-rw-r--r--ipc/src/assuan/mod.rs104
-rw-r--r--ipc/src/assuan/socket.rs15
-rw-r--r--ipc/src/core.rs (renamed from core/src/lib.rs)245
-rw-r--r--ipc/src/gnupg.rs222
-rw-r--r--ipc/src/keybox.rs515
-rw-r--r--ipc/src/keygrip.rs98
-rw-r--r--ipc/src/lib.rs116
-rw-r--r--ipc/src/macros.rs230
-rw-r--r--ipc/src/sexp.rs72
-rw-r--r--ipc/src/sexp/parse/lexer.rs25
-rw-r--r--ipc/src/sexp/parse/mod.rs6
-rw-r--r-