Compare commits

...

197 Commits

Author SHA1 Message Date
Krista Bennett 55f7338ca9 ENGINE-895: binary-labelled ascii attachments with lines longer than 998 characters will now be base64 encoded in spite of this. (But try to use the right mime-type please) 2 years ago
Krista Bennett c100fb39bd ENGINE-885: Fixed define bug and put in function to grab commit hash value for the adapter 2 years ago
Krista Bennett 6b93955f5b bumped patch for next release 2 years ago
darthmama 61ea387f41 Merge pull request 'ENGINE-894' (#6) from buff/pEpEngine:ENGINE-894 into Release_2.1
Reviewed-on: pEp.foundation/pEpEngine#6
2 years ago
Andreas Buff cc3593283b ENGINE-894 add the new aggregates as dependency. 2 years ago
Andreas Buff 0891f3842c ENGINE-894 adds commit_hash.h gen script. Rm gen code script and uses the aggregate used by macOS instead. a) To be consisgtant, b) to not fail on first build after clean checkout. 2 years ago
darthmama f48cc0eac3 Merge pull request 'Build: Fix MacOS linking (sequoia symbols not found)' (#5) from heck/pEpEngine:Release_2.1 into Release_2.1
Reviewed-on: pEp.foundation/pEpEngine#5
2 years ago
heck a382bae793 Build: Fix MacOS linking (sequoia symbols not found) 2 years ago
Krista Bennett 759f55709e Bumped patch number for next release 2 years ago
Krista Bennett 9ce23dee90 Removed semicolon in if test in sync_impl.h - may require retest of ENGINE-820: 2 years ago
Krista Bennett c5eddfb5cc Merge branch 'Release_2.1' of https://gitea.pep.foundation/pEp.foundation/pEpEngine into Release_2.1 2 years ago
Krista Bennett fabd9ee03b Added updated Makefiles from master because of config_hash.h - this replaces the whole hooks business under Linux. For Windows, hooks are needed until fdik sorts out the build stuff 2 years ago
Krista Bennett 078087fc95 Bumped patch for next release 2 years ago
Volker Birk cdd9161de6 if signing or encryption failes for one own identity, try the next one 2 years ago
Krista Bennett 780dd094ac Bumped patch version for next release 2 years ago
Krista Bennett a3806eb2c3 Squashed commit of the following MACOSINST-33 changes:
commit 008a06368c
Merge: 98e566fc 8d4987ac
Author: Andreas Buff <andreas@pep-security.net>
Date:   Fri Mar 5 12:58:06 2021 +0100

    merge Release_2.1

commit 98e566fcac
Author: Andreas Buff <andreas@pep-security.net>
Date:   Fri Mar 5 12:28:54 2021 +0100

    MACOSINST-26 fixes: mac target does not build system.db

commit 6fabb15d2a
Author: Andreas Buff <andreas@pep-security.net>
Date:   Fri Mar 5 11:19:25 2021 +0100

    Revert "MACOSINST-26 uses prebuild asn1"

    This reverts commit 85546121f9.

commit 85546121f9
Author: Andreas Buff <andreas@pep-security.net>
Date:   Fri Mar 5 11:03:15 2021 +0100

    MACOSINST-26 uses prebuild asn1

commit f7e75e6dfc
Author: Andreas Buff <andreas@pep-security.net>
Date:   Fri Mar 5 10:36:38 2021 +0100

    MACOSINST-26 fixes: libetpan is expected dynamic lib (thanx Xcode...)

commit 8523a84e7b
Author: Andreas Buff <andreas@pep-security.net>
Date:   Thu Mar 4 17:09:53 2021 +0100

    MACOSINST-26 adds extra target to generate files before building. Fails on first build otherwize

commit c5192aafd3
Author: Andreas Buff <andreas@pep-security.net>
Date:   Thu Mar 4 16:19:28 2021 +0100

    MACOSINST-26 adds gen script output file lists to mac target also

commit b1373c27db
Author: Andreas Buff <andreas@pep-security.net>
Date:   Thu Mar 4 13:10:22 2021 +0100

    MACOSINST-26 stops building mac target for ARM. libetpan will have to be cross build first.

commit 04c585fd94
Author: Andreas Buff <andreas@pep-security.net>
Date:   Thu Mar 4 13:00:34 2021 +0100

    MACOSINST-26 libpepengine_mac uses libetpan from local/lib (as libetpan mac prepare can not work and obviously has never been tested)

commit abef79f69a
Author: Andreas Buff <andreas@pep-security.net>
Date:   Thu Mar 4 12:47:39 2021 +0100

    MACOSINST-26 stops using Libetpan Xcode project for macOS. Does not work. Assumed no one ever tested it. It can not work. Its prepare target used script is full of iOS stuff.

commit 1a412c1c01
Author: Andreas Buff <andreas@pep-security.net>
Date:   Thu Mar 4 11:00:07 2021 +0100

    MACOSINST-26 copies build artifact to custom build dir

commit f7013c38c7
Author: Andreas Buff <andreas@pep-security.net>
Date:   Thu Feb 18 17:23:22 2021 +0100

    MACOSINST-26 uses Libetban build by Xcode (to get fat lib for ARM and ITEL for free)

commit a6914dbdfd
Author: Andreas Buff <andreas@pep-security.net>
Date:   Thu Feb 18 17:21:43 2021 +0100

    MACOSINST-26 git-ignores Xcode related files
2 years ago
Krista Bennett 8d4987aca6 Bumped patch number for next release 2 years ago
Volker Birk a432932ced fixing typo 2 years ago
Devan Carpenter ec0e60b217 CI: unpack yml2 into INSTPREFIX
yml2 and particularly yml2proc can be placed directly into INSTPREFIX
instead of BUILDROOT.
2 years ago
Devan Carpenter ef7eaa073d CI: don't use insecure docker registries anymore
We are not using an plain http registry on the LAN anymore. We want to
only use https now.
2 years ago
Devan Carpenter 1cd723a1ff CI: add basic gitlab-ci jobs
Adds simple jobs for building the the Engine for Debian 10.

Pre-built docker images containing Sequoia will be pulled down and used
to build the Engine. Currently the Sequoia version is just the latest
from the `pep-engine` branch. We should make this selectable in the near
future.

Upon successful compilation an image containing the build output will be
pushed to an internal docker registry.
2 years ago
darthmama b319057799 Merge pull request 'Add files to Windows project' (#2) from Thomas/pEpEngine:Release_2.1 into Release_2.1
Reviewed-on: pEp.foundation/pEpEngine#2
2 years ago
Thomas 19252d3b1a Add files to Windows project 2 years ago
Krista Bennett db98c3ac7a ENGINE-883: script updates from hooks directory, Makefile fix for those who haven't put hooks in. Needs to be tested on other systems and won't save non-hooks-using windows users from themselves. 2 years ago
Krista Bennett 481eb89593 ENGINE-883: Added include. WARNING: COPY HOOK SCRIPTS TO HOOKS DIRECTORY 2 years ago
Krista Bennett d56fcd0ca5 Ignore untracked src/commit_hash.h 2 years ago
Krista Bennett f32bc1f729 ENGINE-883: commit hook scripts 2 years ago
Krista Bennett 81ac92af1b Added template for commit hash goodness 2 years ago
Thomas 9fe2744231 Build entire Sequoia on Windows 2 years ago
Thomas e2e890f712 Add Visual Studio user file to .gitignore 2 years ago
Volker Birk 5f30b80595 do not replace subject if message format 1.x and unencrypted subject is enabled 2 years ago
Volker Birk 01d232f7dd Merge branch 'Release_2.1' of ssh://gitea.pep.foundation:23065/pEp.foundation/pEpEngine into Release_2.1 2 years ago
Volker Birk 378b50387b FIX ENGINE-814: skip identities without key 2 years ago
Thomas 177a30c9d2 Fix build issues on Windows 2 years ago
Krista Bennett 7b82076780 Bumped patch for next release 2 years ago
Krista Bennett 6af7aa8578 More protection against bad parsing. Can't reproduce the actual bug. 2 years ago
Krista Bennett fe72c6e8fd Bumped patch version for next release 2 years ago
Krista Bennett 01719b5dd4 Merge branch 'IOSAD-186' into Release_2.1 2 years ago
Krista Bennett b04108bc6d Converted .hgignore to .gitignore 2 years ago
Krista Bennett 4330caa8d3 Converted .hgignore to .gitignore 2 years ago
buff 0e3669b5b2 merge Release_2.1.11 2 years ago
Krista 'DarthMama' Bennett a15ac36547 Bumped patch version for next release 2 years ago
Krista 'DarthMama' Bennett 75654d2b10 Added tag Release_2.1.11 for changeset f6f52234d220 2 years ago
Krista 'DarthMama' Bennett 8462cc190b Empty string fail fixed in mime.c 2 years ago
Dirk Zimmermann b99fc3543e IOSAD-186 Re-add sequoia4ios include 2 years ago
Krista 'DarthMama' Bennett e8e42c3bdd Minor typo 2 years ago
Sofia Balicka 5b4b88fc68 one include guard in worng place 2 years ago
Krista 'DarthMama' Bennett beb7a00d16 ENGINE-870 graft: replace #pragma once with include guards 2 years ago
buff 9b7b4b6d40 merge Release_2.1 2 years ago
buff fa467d4578 IOSAD-186 forces usage of static libs 2 years ago
Krista 'DarthMama' Bennett 3778b9abfd bumped patch version for next release 2 years ago
Krista 'DarthMama' Bennett 4477da943d Added tag Release_2.1.10 for changeset aaffc7213827 2 years ago
Volker Birk d4daf0ff04 ignore ReceiverRating in Sync 2 years ago
buff 739024453b IOSAD-186 adds generated files to macOS target 2 years ago
buff 656f0b94ca IOSAD-186 static macOS lib builds in Xcode 2 years ago
buff db41e8eb3a add branch 2 years ago
Krista 'DarthMama' Bennett f5ef381d7b ENGINE-860: key reset now resets all default keys for a partner address when asked to reset the unspecified default key for an identity containing that address 2 years ago
Krista 'DarthMama' Bennett e119049d2f bumped patch for next release 2 years ago
Krista 'DarthMama' Bennett 1719cbf316 Added tag Release_2.1.9 for changeset afde4de54783 2 years ago
Krista 'DarthMama' Bennett ef95023e95 ENGINE-857: revert and NUL char fix. 2 years ago
Krista 'DarthMama' Bennett b2cf13b821 bumped patch for next release 2 years ago
Krista 'DarthMama' Bennett ed6bc7385a Added tag Release_2.1.8 for changeset 409acbc8b230 2 years ago
Krista 'DarthMama' Bennett 9af2fbc452 ENGINE-857: Fixed charconv error. 2 years ago
Krista 'DarthMama' Bennett 420c1be93e bumped patch number 2 years ago
Krista 'DarthMama' Bennett 7961f02670 Added tag Release_2.1.7 for changeset fff112d941e6 2 years ago
Krista 'DarthMama' Bennett 24c5e57fa1 Second explicit key not found setting in encrypt message 2 years ago
Krista 'DarthMama' Bennett af680d4a14 Merged in audit_branch fixes 2 years ago
Thomas 6a70476e6f Create system.db in the generate_code script 2 years ago
Thomas 4f6651ef0e Graft changes to Windows build from default 2 years ago
Krista 'DarthMama' Bennett 2be54d0a1e Fixing graft mess ;) 2 years ago
Thomas d25f1aaf71 Make yml2 path relative in Windows build script 2 years ago
Krista 'DarthMama' Bennett 8450ebf542 Bumped patch for future release 2 years ago
Krista 'DarthMama' Bennett 7bd00bb927 Added tag Release_2.1.6 for changeset 0e68ede9ea7d 2 years ago
Krista 'DarthMama' Bennett 242d0893cf ENGINE-843: bad input checking everywhere 2 years ago
Krista 'DarthMama' Bennett c302e0167e ENGINE-792: fixed logic error. Oops. 2 years ago
Krista 'DarthMama' Bennett 3095a16836 Merged in current audit_branch fixes 2 years ago
Krista 'DarthMama' Bennett 702e9f803c ENGINE-840: Make identity_dup great again, ish, kinda 2 years ago
buff 53bdab0b6c Xcode: drops iOS <12 support 2 years ago
Krista 'DarthMama' Bennett 724d0efc69 Removed tag Release_2.2.0-RC3 2 years ago
Krista 'DarthMama' Bennett ce27e944e8 Removed tag Release_2.2.0-RC2 2 years ago
Krista 'DarthMama' Bennett acb23ce787 Removed tag Release_2.2.0-RC1 2 years ago
Krista 'DarthMama' Bennett 0a662d7a89 Bumped patch num for next release 2 years ago
Krista 'DarthMama' Bennett 5258e65e28 Added tag Release_2.1.5 for changeset bf8ec2f0c15b 2 years ago
Krista 'DarthMama' Bennett 129b3b156f merged xcode sqlite3 fixes 2 years ago
Dirk Zimmermann d2a09d8608 IOSAD-182 Xcode: Use sqlite amalgamation from own mirror 2 years ago
Dirk Zimmermann 96987a3cdd add branch 2 years ago
Krista 'DarthMama' Bennett 7c2dbb5c2d bumped patch num in src 2 years ago
Krista 'DarthMama' Bennett d7302fad7e Added tag Release_2.1.4 for changeset 0d9856973e52 2 years ago
Krista 'DarthMama' Bennett 62f13f1fca fixed version str prob 2 years ago
Krista 'DarthMama' Bennett 04126182a4 Added tag Release_2.1.4 for changeset aa8fe3f4989c 2 years ago
Krista 'DarthMama' Bennett 7819fda5aa Increased MAX_KEY_SIZE on import 2 years ago
Krista 'DarthMama' Bennett 56e875aa8b Added tag Release_2.1.3 for changeset 273dd589f974 2 years ago
Krista 'DarthMama' Bennett 77975f7adc Bumped patch number for next release 2 years ago
Krista 'DarthMama' Bennett c2213bdf55 merged in sequoia branch 2 years ago
Krista 'DarthMama' Bennett 954d612fd8 Added bigkey test and reverted changed_key tests 2 years ago
Neal Walfield acab687eb3 Update to latest sequoia.
- Adjust the code to deal with this change in semantics of
    pgp_signer_new, which had a bug.

    87db0d161c
2 years ago
Krista 'DarthMama' Bennett b82fe85f34 Bumped patch num for next patch release 2 years ago
Krista 'DarthMama' Bennett a2c541e428 Added tag Release_2.1.2 for changeset c01b89092117 2 years ago
Krista 'DarthMama' Bennett 0304b4648f Bumped RC number for next RC release 2 years ago
Krista 'DarthMama' Bennett 56a2973337 Added tag Release_2.2.0-RC1 for changeset 8faa4c8c9e98 2 years ago
Krista 'DarthMama' Bennett d4a736058d Merged in neal's sequoia changes. 2 years ago
Krista 'DarthMama' Bennett 15e40298c3 Merged in sequoia changes 2 years ago
Krista 'DarthMama' Bennett 14e6162373 merged in default 2 years ago
Neal Walfield 152131818b Update to latest sequoia. 2 years ago
Krista 'DarthMama' Bennett 801e195f68 Test fix for neal - this is temporary until we have a better equality definition. 3 years ago
Krista 'DarthMama' Bennett d100ddb2c2 Added tag Release_2.2.0-RC0 for changeset fe138adedf20 3 years ago
Krista 'DarthMama' Bennett a21b7668b6 removed old test case, redundant 3 years ago
Krista 'DarthMama' Bennett c9b256fe2b test fix 3 years ago
Krista 'DarthMama' Bennett 1ad008416f bumped patch version for next release 3 years ago
Krista 'DarthMama' Bennett 264ec4e040 Added tag Release_2.1.1 for changeset 85c69bddc57d 3 years ago
Krista 'DarthMama' Bennett 337d7ad1df Removed tag Release_2.1.1 3 years ago
Krista 'DarthMama' Bennett 9511f11845 header string fix 3 years ago
Krista 'DarthMama' Bennett a5855ce454 Added tag Release_2.1.1 for changeset d1990232ce10 3 years ago
Krista 'DarthMama' Bennett f64828225c merged in default to include former RC39 3 years ago
Krista 'DarthMama' Bennett b4ca2ff64c Added tag Release_2.1.0 for changeset fb792b80fa6f 3 years ago
Krista 'DarthMama' Bennett 741fbc5537 Stripped to change branch name - Release 2.1 is this branch, and will be tagged Release_2.1.0; in this branch, only patch nums will now be increment. (This is the a posteriori release branch) 3 years ago
Krista 'DarthMama' Bennett 8efbb17e4d Bumped patch num for NEXT release in this branch to 2.2.0-RC1 **if released** 3 years ago
Krista 'DarthMama' Bennett be2cd4bd13 Added tag Release_2.1.0-final for changeset 06d0c048afb8 3 years ago
Krista 'DarthMama' Bennett a51486968b Removed tag Release_2.1.0 3 years ago
Krista 'DarthMama' Bennett e7ddf7ddd5 Fixed default branch - this is release 2.2.0-RC0 (horked release process meant I started patch versions in the wrong branch) 3 years ago
Krista 'DarthMama' Bennett 4eb7e7ee37 Bumped patch tags - next release is Release_2.1.1 *** if released *** 3 years ago
Krista 'DarthMama' Bennett 61e64b17eb test stuff 3 years ago
Krista 'DarthMama' Bennett b9c10be48f Automatically bumped RC in source for future release. Next RC after this one will be 2.1.0-RC40 **if released**. 3 years ago
Krista 'DarthMama' Bennett 6a09273df7 Added tag Release_2.1.0-RC39 for changeset 5f16965452aa 3 years ago
Krista 'DarthMama' Bennett f3228a6be1 attempt to fix double-free related to recipient count 3 years ago
Krista 'DarthMama' Bennett 7df9d030e4 Don't free if we're already bailing when out of memory 3 years ago
Krista 'DarthMama' Bennett 207288d4c4 test shell 3 years ago
Krista 'DarthMama' Bennett b2b37cfe91 fixed testgen args 3 years ago
Roker f102083484 also "install" libpEpEngine.a into $PREFIX/lib 3 years ago
Dirk Zimmermann ee04c125f7 Xcode: Update generated files list 3 years ago
Krista 'DarthMama' Bennett 1cea79bc66 Automatically bumped RC in source for future release. Next RC after this one will be 2.1.0-RC39 **if released**. 3 years ago
Krista 'DarthMama' Bennett 952799ce3a Added tag Release_2.1.0-RC38 for changeset 06d0c048afb8 3 years ago
Krista 'DarthMama' Bennett 35cce01016 Added test for is_own_key 3 years ago
Krista 'DarthMama' Bennett 505185365e Automatically bumped RC in source for future release. Next RC after this one will be 2.1.0-RC38 **if released**. 3 years ago
Krista 'DarthMama' Bennett 10dd0d9701 Added tag Release_2.1.0-RC37 for changeset 8c15d5e57687 3 years ago
Krista 'DarthMama' Bennett 30c59ae706 reworked is_own_key - fdik, watch out for semantic changes! 3 years ago
Krista 'DarthMama' Bennett e3ef506142 is_own_key fixes 3 years ago
Krista 'DarthMama' Bennett b252b6f866 merged in default 3 years ago
Volker Birk 3af14e9ed2 Automatically bumped RC in source for future release. Next RC after this one will be 2.1.0-RC37 **if released**. 3 years ago
Volker Birk c845337d06 Added tag Release_2.1.0-RC36 for changeset eb934f36ed5d 3 years ago
Volker Birk 9f940855e8 remove_sync_message() now removes all sync and signature attachements 3 years ago
Krista 'DarthMama' Bennett febfe12cd6 Committing is_own_key changes, but key reset code needs to be modified a bit more and I wanted to make sure the new function was available. Use at your own risk. 3 years ago
Volker Birk 863751dc31 add status check 3 years ago
Volker Birk ac66761de3 Automatically bumped RC in source for future release. Next RC after this one will be 2.1.0-RC36 **if released**. 3 years ago
Volker Birk 6d0c824f58 Added tag Release_2.1.0-RC35 for changeset 91f8d1b13c6d 3 years ago
Volker Birk 9dad4fa31e ignore an empty recv_by->address 3 years ago
Volker Birk 4b7ebbd7f4 set_receiverRating() in re_evaluate_message_rating() 3 years ago
Volker Birk dea036b7ab Automatically bumped RC in source for future release. Next RC after this one will be 2.1.0-RC35 **if released**. 3 years ago
Volker Birk 9a0708f56e Added tag Release_2.1.0-RC34 for changeset c26bbd9bb479 3 years ago
Volker Birk b9ecf670f8 for now don't add a second sync message 3 years ago
Volker Birk 02276a8bc6 Automatically bumped RC in source for future release. Next RC after this one will be 2.1.0-RC34 **if released**. 3 years ago
Volker Birk 335803ac62 Added tag Release_2.1.0-RC33 for changeset ad76ee3dce6b 3 years ago
Volker Birk 38ebf41768 adding events for all messages 3 years ago
Krista 'DarthMama' Bennett b32fbac284 Automatically bumped RC in source for future release. Next RC after this one will be 2.1.0-RC33 **if released**. 3 years ago
Krista 'DarthMama' Bennett 342954004d Added tag Release_2.1.0-RC32 for changeset 1065ee6663cd 3 years ago
buff c8efa82982 merge IOS-2414 3 years ago
buff ec0c069673 close branch 3 years ago
buff ee3cece187 Xcode: add new generated sources 3 years ago
buff 61fe3a87c1 add branch 3 years ago
Krista 'DarthMama' Bennett b1b19f33f7 Automatically bumped RC in source for future release. Next RC after this one will be 2.1.0-RC32 **if released**. 3 years ago
Krista 'DarthMama' Bennett 1c877f8440 Added tag Release_2.1.0-RC31 for changeset 13722f7b64d2 3 years ago
Volker Birk cd2ec1e57a merging 3 years ago
Volker Birk b0d9baec40 keep X-EncStatus the same 3 years ago
Krista 'DarthMama' Bennett 08cd375111 Automatically bumped RC in source for future release. Next RC after this one will be 2.1.0-RC31 **if released**. 3 years ago
Krista 'DarthMama' Bennett eda69ad4cc Added tag Release_2.1.0-RC30 for changeset dec0e9ac4723 3 years ago
Volker Birk 360f9a333a merging 3 years ago
Thomas 491e641350 Use wildcard in libpEpasn1 Windows project 3 years ago
Volker Birk 555b6b96f4 Automatically bumped RC in source for future release. Next RC after this one will be 2.1.0-RC30 **if released**. 3 years ago
Volker Birk 701bc8ffba Added tag Release_2.1.0-RC29 for changeset abb54fe3cc60 3 years ago
Volker Birk b38198b47e merging in ENGINE-812 3 years ago
Volker Birk f9540f19a3 add ReceiverRatingTest 3 years ago
Volker Birk ac944f3f27 copy recv_by from src 3 years ago
Volker Birk 7238803f2d add some documentation 3 years ago
Volker Birk e247ef642c evaluate receiverRating 3 years ago
Volker Birk 5d3e42698c fixing a possible memory hole 3 years ago
Volker Birk 68160279d3 if recv_by is available make it functional 3 years ago
Volker Birk 727e5b1cdb getter and setter for EncStatus via Sync 3 years ago
Volker Birk b92bf2e934 merging in 4999 3 years ago
Volker Birk 17fc33b8de new message: ReceiverRating 3 years ago
Volker Birk c0be3dcedc adding Rating type 3 years ago
Krista 'DarthMama' Bennett 690e450a23 Automatically bumped RC in source for future release. Next RC after this one will be 2.1.0-RC29 **if released**. 3 years ago
Krista 'DarthMama' Bennett 15bbdbf0fd Added tag Release_2.1.0-RC28 for changeset e4b00b4cff45 3 years ago
Krista 'DarthMama' Bennett 89f0c12b29 updated expired keys 3 years ago
Krista 'DarthMama' Bennett 19b8df0366 ENGINE-812 - reverted X-EncList and X-Keylist bits of ENGINE-442. See fdik for details. 3 years ago
Volker Birk 34391cf29a Be less intrusive when Cancel was selected 3 years ago
Krista 'DarthMama' Bennett 5446833542 Automatically bumped RC in source for future release. Next RC after this one will be 2.1.0-RC28 **if released**. 3 years ago
Krista 'DarthMama' Bennett 146ddafcd4 Added tag Release_2.1.0-RC27 for changeset c3e10511c29e 3 years ago
Krista 'DarthMama' Bennett b884b92bbf ENGINE-809: all idents now returned. 3 years ago
Volker Birk fc22c74dcd backing out because what seemed to be obvious isn't 3 years ago
Volker Birk a64de290c8 obvious typo 3 years ago
Volker Birk 99273ce921 Automatically bumped RC in source for future release. Next RC after this one will be 2.1.0-RC27 **if released**. 3 years ago
Volker Birk 5fe433fb0f Added tag Release_2.1.0-RC26 for changeset b2c4237d4373 3 years ago
Volker Birk 296b3db2cb documenting 3 years ago
Volker Birk 0e7284bb8d probe_encrypt() is now part of Adapter API 3 years ago
Volker Birk d0a9f9f6e9 enable the possibility that passphrases are required for new keys but a passphrase is not yet known 3 years ago
Krista 'DarthMama' Bennett 02d9389c51 Automatically bumped RC in source for future release. Next RC after this one will be 2.1.0-RC26 **if released**. 3 years ago
Krista 'DarthMama' Bennett 500d174f63 Added tag Release_2.1.0-RC25 for changeset bee458d79f7e 3 years ago

@ -1,14 +1,12 @@
syntax: regexp
^asn\.1/.*\.(c|h)$
^asn\.1/libasn1\.a$
.*xcuserdata/
^build/
^local.conf
^test_home/
syntax: glob
asn.1/Makefile.am.*
asn.1/converter-example.mk
asn.1/libasn1.a
local.conf
build/
test_home/
asn.1/*.c
asn.1/*.h
xcuserdata/
*.orig
*.old
*.d
@ -33,6 +31,7 @@ build-android/pEpEngine-android-1.zip
build-android/third-party
build-android/pEpEngine-android-1
build-linux/*
build-windows/libpEpasn1/libpEpasn1.vcxproj.user
*.dSYM*
*_test
msg4.asc
@ -89,6 +88,30 @@ test/EngineTests
test/googletest
test/tmp/*
src/commit_hash.h
.idea/
venv/
venv2/
cleangit.py
newgit
# Xcode related ignores
build/
DerivedData/
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
xcuserdata/
*.moved-aside
*.xccheckout
*.xcscmblueprint
xcshareddata
# ignore generated test data
test/655_16F07F382FB3CF5DF977005D1069C7CACF9C23C6.asc

@ -0,0 +1,22 @@
.ensure_docker: &ensure_docker
# Check for docker and install if missing
- 'which docker || ( sudo apt-get update -y && sudo apt-get install docker.io -y )'
.ensure_rsync: &ensure_rsync
# Install rsync and deps if missing
- 'which ssh-agent || ( sudo apt-get update -y && sudo apt-get install openssh-client -y )'
- 'which rsync || ( sudo apt-get update -y && sudo apt-get install rsync -y )'
- 'which make || ( sudo apt-get update -y && sudo apt-get install make -y )'
.standard_job:
tags: [kvm]
before_script:
- *ensure_docker
- *ensure_rsync
.make_in_docker:
extends: .standard_job
script:
- docker login -u ${DOCKER_REGISTRY_USER} -p ${DOCKER_REGISTRY_PASS} ${DOCKER_REGISTRY_HOST}
- cd scripts/${CI_DISTRO_TARGET}
- make

@ -0,0 +1,27 @@
include:
- '.gitlab-ci-files/common-prepare.yml'
stages:
- build
# Debian
debian10:build:
extends: .make_in_docker
stage: build
variables:
CI_DISTRO_TARGET: "debian10"
DEBIAN_FRONTEND: "noninteractive"
rules:
- if: '$CI_COMMIT_TAG !~ /^Release_[0-9]+\.[0-9]+\.[0-9]+$/'
debian10:tagged-build:
extends: .make_in_docker
stage: build
variables:
CI_DISTRO_TARGET: "debian10"
DEBIAN_FRONTEND: "noninteractive"
TAGGED_BUILD: "true"
rules:
- if: '$CI_COMMIT_TAG =~ /^Release_[0-9]+\.[0-9]+\.[0-9]+$/'

@ -0,0 +1,4 @@
# 1st Party Dependencies
## Prefer git tags instead of SHA hashes when possible.
sequoia=365d00a08bec6a5a48d48a7c7893d78c27092b59

@ -19,24 +19,37 @@ ifdef BUILD_CONFIG
$(info ================================================)
endif
.PHONY: all sync asn1 build install dbinstall uninstall clean tags test package db
BUILT_IN_MIME=
build: asn1
ifdef PEP_MIME
BUILT_IN_MIME=pepmime
endif
.PHONY: all $(BUILT_IN_MIME) sync asn1 build install dbinstall uninstall clean tags test package db
build: $(BUILT_IN_MIME) asn1
$(MAKE) -C src
all: build
# `make all` is not for tests, that's what `make test` is for
# $(MAKE) -C test
pepmime:
$(MAKE) -C pEpMIME lib
sync:
$(MAKE) -C sync
asn1: sync
$(MAKE) -C asn.1
install: build
$(MAKE) -C src install
$(MAKE) -C asn.1 install
ifeq ($(BUILT_IN_MIME),pepmime)
$(MAKE) -C pEpMIME install
endif
beinstall:
$(MAKE) -C src beinstall
@ -55,6 +68,9 @@ clean:
$(MAKE) -C asn.1 clean
$(MAKE) -C sync clean
$(MAKE) -C build-android clean
ifdef PEP_MIME
$(MAKE) -C pEpMIME clean
endif
tags:
$(MAKE) -C asn.1 tags

@ -15,7 +15,6 @@
# It is possible to use multiple variants simultaniously.
# If nothing is changed according to these 3 methods, a default configuration for your platform (specified below) will be used for the build.
######### Header #########
HERE:=$(dir $(lastword $(MAKEFILE_LIST)))
@ -74,28 +73,29 @@ TARGET_ARCH=
# The following two variables will be appended to.
# You can thus not set them to a final, fixed value here.
ifeq ($(BUILD_FOR),Linux)
LDFLAGS=
LDFLAGS+=
else ifeq ($(BUILD_FOR),Darwin)
# "-bind_at_load" helps find symbol resolution errors faster
LDFLAGS=-bind_at_load
LDFLAGS+=-bind_at_load
endif
# Are we wiping this on purpose?
LDLIBS=
######### C #########
ifeq ($(BUILD_FOR),Linux)
CC=gcc -std=c99 -pthread
CC=gcc
else ifeq ($(BUILD_FOR),Darwin)
# clang issues a warning when "-pthread" is used for linking.
# So, include it in CFLAGS, and not in CC
CC=clang -std=c99
CC=clang
endif
CFLAGS+=-std=c99 -pthread
CFLAGS+=-fPIC -fstrict-aliasing
ifeq ($(BUILD_FOR),Linux)
CFLAGS=-fPIC -fstrict-aliasing -fdiagnostics-color=auto
CFLAGS+=-fdiagnostics-color=auto
else ifeq ($(BUILD_FOR),Darwin)
CFLAGS=-pthread -fPIC -fstrict-aliasing -fcolor-diagnostics
CFLAGS+=-fcolor-diagnostics
endif
# The flag -DNDEBUG will always be removed from CFLAGS for compiling tests.
@ -131,24 +131,28 @@ ifeq ($(BUILD_FOR),Linux)
# otherwise printed during the compilation of every asn1c-generated C file.
# It's a glibc specific warning, only present in few versions around ~2.19.
# See https://lwn.net/Articles/590381/ for a discussion.
CFLAGS_GENERATED=-D_DEFAULT_SOURCE
CPPFLAGS_GENERATED=-D_DEFAULT_SOURCE
else ifeq ($(BUILD_FOR),Darwin)
CFLAGS_GENERATED=
CPPFLAGS_GENERATED=
endif
######### C++ #########
ifeq ($(BUILD_FOR),Linux)
CXX=g++ -std=gnu++11 -pthread
CXX=g++
CXXFLAGS+=-std=gnu++11
else ifeq ($(BUILD_FOR),Darwin)
# clang issues a warning when "-pthread" is used for linking. So, include it in CXXFLAGS, and not in CXX
CXX=clang -std=c++11
CXX=clang
CXXFLAGS+=-std=c++11
endif
# The flag -DNDEBUG will always be removed from CXXFLAGS for compiling tests.
CXXFLAGS+=-pthread
# The flag -DNDEBUG will always be removed from CPPFLAGS for compiling tests.
#
# The tests do not work properly, if compiled with -DNDEBUG
ifeq ($(BUILD_FOR),Linux)
CXXFLAGS=-fdiagnostics-color=auto -I../src -I../asn.1 $(ETPAN_INC)
CXXFLAGS+=-fdiagnostics-color=auto -I../src -I../asn.1 $(ETPAN_INC)
ifdef WARN
CXXFLAGS+=
else
@ -157,10 +161,11 @@ ifeq ($(BUILD_FOR),Linux)
ifdef DEBUG
CXXFLAGS+= -g -ggdb
else
CXXFLAGS+= -O3 -DNDEBUG
CXXFLAGS+= -O3
CPPFLAGS+= -DNDEBUG
endif
else ifeq ($(BUILD_FOR),Darwin)
CXXFLAGS=-pthread -fcolor-diagnostics -I../src -I../asn.1 $(ETPAN_INC)
CXXFLAGS+=-fcolor-diagnostics -I../src -I../asn.1 $(ETPAN_INC)
ifdef WARN
CXXFLAGS+=
else
@ -169,16 +174,18 @@ else ifeq ($(BUILD_FOR),Darwin)
ifdef DEBUG
CXXFLAGS+= -O0 -g
else
CXXFLAGS+= -O3 -DNDEBUG
CXXFLAGS+= -O3
CPPFLAGS+= -DNDEBUG
endif
endif
######### C and C++ #########
ifeq ($(BUILD_FOR),Darwin)
CPPFLAGS=-D_DARWIN_C_SOURCE
CPPFLAGS+=-D_DARWIN_C_SOURCE
LDLIBS+=-liconv
else
CPPFLAGS=
LDLIBS+=-luuid
endif
@ -200,39 +207,42 @@ ASN1C_INC=
#ASN1C_INC=-I$(HOME)/include
######### libetpan #########
# libetpan library search flag
ETPAN_LIB=
#ETPAN_LIB=-L$(HOME)/lib
######### sqlite3 #########
# If empty (or undefined), compile sqlite3 from the sources shipped with the pEp distribution.
# Otherwise, use an sqlite3 implementation found in the OS's include/library paths.
SQLITE3_FROM_OS=placeholder
# libetpan include search flag
ETPAN_INC=
#ETPAN_INC=-I$(HOME)/include
######### MIME #########
######### pEp MIME #########
# set this to skip libetpan and use PEP_MIME instead
# PEP_MIME=1
# Set pEpMIME= anything (there are ifdefs on it) in your local.conf if you want
# to compile built-in pEpMIME (requires a separate libppEpMIME source repo to be
# checked out elsewhere on the system - define or redefine these in local.conf
# if you want to use it; otherwise, we default to etpan. (This will eventually
# become the default, but not yet.
#
# pEp MIME library search flag
PEP_MIME_LIB=
# pEp MIME include search flag
PEP_MIME_INC=
PEP_MIME=
PEP_MIME_SRC=$(HOME)/src/pEpMIME/src
######### sqlite3 #########
# If empty (or undefined), compile sqlite3 from the sources shipped with the pEp distribution.
# Otherwise, use an sqlite3 implementation found in the OS's include/library paths.
SQLITE3_FROM_OS=placeholder
######### libetpan #########
# libetpan library search flag
#
ETPAN_LIB=
#ETPAN_LIB=-L$(HOME)/lib
# libetpan include search flag
ETPAN_INC=
#ETPAN_INC=-I$(HOME)/include
######### OpenPGP #########
# Selects OpenPGP implementation. must be `SEQUOIA`
OPENPGP=SEQUOIA
# Sequoia-specific variables
SEQUOIA_CFLAGS=
SEQUOIA_LDFLAGS=
SEQUOIA_CFLAGS+=
SEQUOIA_LDFLAGS+=
SEQUOIA_LIB=
SEQUOIA_INC=
@ -258,6 +268,10 @@ EXCLUDE=
######### Footer #########
################################
# Include local.conf for any overrides and additional flags
################################
-include $(HERE)/local.conf
ifdef BUILD_CONFIG
@ -265,26 +279,43 @@ ifdef BUILD_CONFIG
endif
######### Post processing assignments ########
# These variables are ineffective when set anywhere else but here.
# KB: I have no idea why we do this - it totally defeats the purpose of
# local.conf.
# For now: set if has no value.
# If sequoia has been set up and the SEQUOIA flags aren't defined, set them up.
# Otherwise, add them to the CFLAGS/CXXFLAGS/LDFLAGS and library/include variables
ifeq ($(OPENPGP),SEQUOIA)
ifeq ($(SEQUOIA_CFLAGS),)
SEQUOIA_CFLAGS=$(shell pkg-config --cflags-only-other sequoia-openpgp)
SEQUOIA_CFLAGS+=$(shell pkg-config --cflags-only-other sequoia-openpgp)
endif
ifeq ($(SEQUOIA_LDFLAGS),)
SEQUOIA_LDFLAGS=$(shell pkg-config --libs-only-l --libs-only-other sequoia-openpgp)
SEQUOIA_LDFLAGS+=$(shell pkg-config --libs-only-l sequoia-openpgp)
endif
ifeq ($(SEQUOIA_LIB),)
SEQUOIA_LIB=$(shell pkg-config --libs-only-L sequoia-openpgp)
SEQUOIA_LIB=$(shell pkg-config --libs-only-L --libs-only-other sequoia-openpgp)
endif
ifeq ($(SEQUOIA_INC),)
SEQUOIA_INC=$(shell pkg-config --cflags-only-I sequoia-openpgp)
endif
CFLAGS+= $(SEQUOIA_CFLAGS)
CXXFLAGS+= $(SEQUOIA_CFLAGS)
LD_FLAGS+= $(SEQUOIA_LDFLAGS)
endif
# YML_PATH is needed in the environment of every call to a program of the YML2 distribution
export YML_PATH=$(YML2_PATH)
# Postprocess for pEpMIME
ifdef PEP_MIME
# Replace c++11 with c++14 for now (limiting the subst to the ++11 means it doesn't matter if gnu or not)
CXXFLAGS:=$(subst ++11,++14,$(CXXFLAGS)) -fPIC -fvisibility=hidden
endif
ifdef PEP_MIME
ifndef PEP_MIME_SRC
$(error "Compiling with the PEP_MIME option set requires the value of PEP_MIME_SRC to be set to the source directory for libpEpMIME")
else
CPPFLAGS+=-DPEP_BUILTIN_MIME
LDLIBS+=-lstdc++
ETPAN_LIB=
ETPAN_INC=
endif
endif

@ -5,7 +5,7 @@ include ../Makefile.conf
ALL_SOURCE=$(subst $(NO_SOURCE),,$(wildcard *.c))
ALL_OBJECTS=$(subst .c,.o,$(ALL_SOURCE))
CPPFLAGS+=$(CFLAGS_GENERATED)
CPPFLAGS+=$(CPPFLAGS_GENERATED)
ASN1C_INC+= -I.
.PHONY: all clean install uninstall
@ -17,7 +17,7 @@ libasn1.a: $(ALL_OBJECTS)
$(AR) -rc $@ $(ALL_OBJECTS)
%.o: %.c %.h
$(CC) $(CPPFLAGS) $(CFLAGS) $(OPTIMIZE) $(ASN1C_INC) -c $< -o $@
$(CC) $(CFLAGS) $(CPPFLAGS) $(OPTIMIZE) $(ASN1C_INC) -c $< -o $@
Sync.c: sync.asn1 keysync.asn1 pEp.asn1
$(ASN1C) -gen-PER -fincludes-quoted -fcompound-names -pdu=auto pEp.asn1 keysync.asn1 $<

@ -1,7 +1,7 @@
-- This file is under BSD License 2.0
-- Sync protocol for p≡p
-- Copyright (c) 2016, 2017 p≡p foundation
-- Copyright (c) 2016, 2010 p≡p foundation
-- Written by Volker Birk
@ -12,7 +12,7 @@ DEFINITIONS AUTOMATIC TAGS EXTENSIBILITY IMPLIED ::=
BEGIN
EXPORTS Identity, IdentityList, TID, Hash, Version;
EXPORTS Identity, IdentityList, TID, Hash, Version, Rating;
ISO639-1 ::= PrintableString(FROM ("a".."z")) (SIZE(2))
Hex ::= PrintableString(FROM ("A".."F") | FROM ("0".."9"))
@ -36,5 +36,31 @@ Version ::= SEQUENCE {
minor INTEGER (0..255) DEFAULT 2
}
Rating ::= ENUMERATED {
-- no color
cannot-decrypt (1),
have-no-key (2),
unencrypted (3),
unreliable (5),
b0rken (-2),
-- yellow
reliable (6),
-- green
trusted (7),
trusted-and-anonymized (8),