sick, branch HEADsign and check files using ed25519
9966ebe114dfc63ffb8a38ff032654a13253cb172023-08-25T06:16:45Z2023-08-25T06:16:45ZEnsure key filepath are not overwrittenWilly Goiffoncontact@z3bra.orgcommit 9966ebe114dfc63ffb8a38ff032654a13253cb17
parent 3ea829018da240f2d59c156db537bbbbf06b9d7f
Author: Willy Goiffon <contact@z3bra.org>
Date: Fri, 25 Aug 2023 08:16:45 +0200
Ensure key filepath are not overwritten
3ea829018da240f2d59c156db537bbbbf06b9d7f2023-08-25T06:06:46Z2023-08-25T06:06:46ZFree memory used to store the keyWilly Goiffoncontact@z3bra.orgcommit 3ea829018da240f2d59c156db537bbbbf06b9d7f
parent 259292d1564073a40c90671ad9b8c2c242b76ad7
Author: Willy Goiffon <contact@z3bra.org>
Date: Fri, 25 Aug 2023 08:06:46 +0200
Free memory used to store the key
259292d1564073a40c90671ad9b8c2c242b76ad72023-08-25T06:03:16Z2023-08-25T06:03:16ZDecode base64 keys on-the-flyWilly Goiffoncontact@z3bra.orgcommit 259292d1564073a40c90671ad9b8c2c242b76ad7
parent 65c927600a8e8db3a65a2b62fce53a05aa97948c
Author: Willy Goiffon <contact@z3bra.org>
Date: Fri, 25 Aug 2023 08:03:16 +0200
Decode base64 keys on-the-fly
65c927600a8e8db3a65a2b62fce53a05aa97948c2023-08-10T16:01:49Z2023-08-10T16:01:49ZWrite keys encoded in base64 formatWilly Goiffoncontact@z3bra.orgcommit 65c927600a8e8db3a65a2b62fce53a05aa97948c
parent 0806ed0a99136ae1d118d0e19c2ec9648c9fc603
Author: Willy Goiffon <contact@z3bra.org>
Date: Thu, 10 Aug 2023 18:01:49 +0200
Write keys encoded in base64 format
0806ed0a99136ae1d118d0e19c2ec9648c9fc6032023-08-10T15:43:38Z2023-08-10T15:43:38ZSwap ORLP ed25519 code for SUPERCOP reference implementationWilly Goiffoncontact@z3bra.orgcommit 0806ed0a99136ae1d118d0e19c2ec9648c9fc603
parent 4db5b23df9c2def4e1316c4db4ec082a227c3412
Author: Willy Goiffon <contact@z3bra.org>
Date: Thu, 10 Aug 2023 17:43:38 +0200
Swap ORLP ed25519 code for SUPERCOP reference implementation
4db5b23df9c2def4e1316c4db4ec082a227c34122023-08-10T15:35:20Z2023-08-10T15:35:20ZTrim trailing LF from base64 signaturesWilly Goiffoncontact@z3bra.orgcommit 4db5b23df9c2def4e1316c4db4ec082a227c3412
parent b48608a67e36deca673c3f5792886773bdba9ae4
Author: Willy Goiffon <contact@z3bra.org>
Date: Thu, 10 Aug 2023 17:35:20 +0200
Trim trailing LF from base64 signatures
b48608a67e36deca673c3f5792886773bdba9ae42020-06-02T11:36:35Z2020-06-02T11:36:35ZRemove whitespaces from manpageWilly Goiffondev@z3bra.orgcommit b48608a67e36deca673c3f5792886773bdba9ae4
parent 60ecb5437dce4b2cb787c3c80403ff3bb6648d0a
Author: Willy Goiffon <dev@z3bra.org>
Date: Tue, 2 Jun 2020 13:36:35 +0200
Remove whitespaces from manpage
60ecb5437dce4b2cb787c3c80403ff3bb6648d0a2020-06-02T11:34:21Z2020-06-02T11:34:39ZUpdate ed25519 library to an up-to-date versionWilly Goiffondev@z3bra.orgcommit 60ecb5437dce4b2cb787c3c80403ff3bb6648d0a
parent 4b5bc4c8bffcb488540514047115e7e0371c51be
Author: Willy Goiffon <dev@z3bra.org>
Date: Tue, 2 Jun 2020 13:34:21 +0200
Update ed25519 library to an up-to-date version
4b5bc4c8bffcb488540514047115e7e0371c51be2020-06-02T11:32:37Z2020-06-02T11:32:37ZRemove VERSION from config.mkWilly Goiffondev@z3bra.orgcommit 4b5bc4c8bffcb488540514047115e7e0371c51be
parent b0632259e7c28d83e750c29b7869a1d978dcd99a
Author: Willy Goiffon <dev@z3bra.org>
Date: Tue, 2 Jun 2020 13:32:37 +0200
Remove VERSION from config.mk
b0632259e7c28d83e750c29b7869a1d978dcd99a2020-06-02T11:31:13Z2020-06-02T11:31:13ZRename MANDIR to MANPREFIXWilly Goiffondev@z3bra.orgcommit b0632259e7c28d83e750c29b7869a1d978dcd99a
parent cf2e13adb8c1d9736812969c5783e000e142174e
Author: Willy Goiffon <dev@z3bra.org>
Date: Tue, 2 Jun 2020 13:31:13 +0200
Rename MANDIR to MANPREFIX
cf2e13adb8c1d9736812969c5783e000e142174e2020-06-02T11:30:50Z2020-06-02T11:30:50ZSeparate build/install commands in READMEWilly Goiffondev@z3bra.orgcommit cf2e13adb8c1d9736812969c5783e000e142174e
parent 8e5d85ec0f5d9eb7e8eab583a92b4d8c830330e7
Author: Willy Goiffon <dev@z3bra.org>
Date: Tue, 2 Jun 2020 13:30:50 +0200
Separate build/install commands in README
8e5d85ec0f5d9eb7e8eab583a92b4d8c830330e72020-05-29T17:42:07Z2020-05-29T17:42:07ZUpdate README to be cleaner and simplerWilly Goiffondev@z3bra.orgcommit 8e5d85ec0f5d9eb7e8eab583a92b4d8c830330e7
parent 1b59e739f7fd450e578e5be3b47370d975333ae2
Author: Willy Goiffon <dev@z3bra.org>
Date: Fri, 29 May 2020 19:42:07 +0200
Update README to be cleaner and simpler
1b59e739f7fd450e578e5be3b47370d975333ae22019-07-01T08:52:55Z2019-07-01T09:08:12ZUpdate contact informationWilly Goiffondev@z3bra.orgcommit 1b59e739f7fd450e578e5be3b47370d975333ae2
parent 262a2596fe29ffe1115c7ea5ccf34d28a6771fe0
Author: Willy Goiffon <dev@z3bra.org>
Date: Mon, 1 Jul 2019 10:52:55 +0200
Update contact information
262a2596fe29ffe1115c7ea5ccf34d28a6771fe02017-06-07T06:48:55Z2017-07-18T23:47:10ZComplete README to give deserved creditsz3bracontactatz3bradotorgcommit 262a2596fe29ffe1115c7ea5ccf34d28a6771fe0
parent eada8c0509bfb04505efe198a6bf3ae9dbf8c22a
Author: z3bra <contactatz3bradotorg>
Date: Wed, 7 Jun 2017 08:48:55 +0200
Complete README to give deserved credits
eada8c0509bfb04505efe198a6bf3ae9dbf8c22a2017-06-07T06:48:15Z2017-07-18T23:44:18ZRender makefile stricly POSIXz3bracontactatz3bradotorgcommit eada8c0509bfb04505efe198a6bf3ae9dbf8c22a
parent 31642f26ccb7474f87d042e6f516d14fdce0fe88
Author: z3bra <contactatz3bradotorg>
Date: Wed, 7 Jun 2017 08:48:15 +0200
Render makefile stricly POSIX
31642f26ccb7474f87d042e6f516d14fdce0fe882017-06-07T06:31:47Z2017-07-18T23:44:09ZMake ed25519 library part of the source treez3bracontactatz3bradotorgcommit 31642f26ccb7474f87d042e6f516d14fdce0fe88
parent 18e7f26aa077058b7e9782c784b3e5d9be1bd79b
Author: z3bra <contactatz3bradotorg>
Date: Wed, 7 Jun 2017 08:31:47 +0200
Make ed25519 library part of the source tree
18e7f26aa077058b7e9782c784b3e5d9be1bd79b2017-06-06T22:28:12Z2017-06-06T22:28:12ZMake the README shorter, and more usefulz3bracontactatz3bradotorgcommit 18e7f26aa077058b7e9782c784b3e5d9be1bd79b
parent 34687c6620a38d46e79e8c51e9996af5607d12d6
Author: z3bra <contactatz3bradotorg>
Date: Wed, 7 Jun 2017 00:28:12 +0200
Make the README shorter, and more useful
34687c6620a38d46e79e8c51e9996af5607d12d62017-06-06T22:27:52Z2017-06-06T22:27:52ZExplain the $KEYRING variablez3bracontactatz3bradotorgcommit 34687c6620a38d46e79e8c51e9996af5607d12d6
parent 59e49e375c8ea30e3bd5775dbd7d585245699296
Author: z3bra <contactatz3bradotorg>
Date: Wed, 7 Jun 2017 00:27:52 +0200
Explain the $KEYRING variable
59e49e375c8ea30e3bd5775dbd7d5852456992962017-04-20T11:50:17Z2017-05-18T06:21:30ZBump version 1.1z3bracontactatz3bradotorgcommit 59e49e375c8ea30e3bd5775dbd7d585245699296
parent caa80985e077f242775ac82f451f73f445d9c27c
Author: z3bra <contactatz3bradotorg>
Date: Thu, 20 Apr 2017 13:50:17 +0200
Bump version 1.1
caa80985e077f242775ac82f451f73f445d9c27c2017-04-20T11:49:59Z2017-04-20T11:49:59ZAdd makefile for non-enlightened peoplez3bracontactatz3bradotorgcommit caa80985e077f242775ac82f451f73f445d9c27c
parent e1ffd5fb0b6aa9e5a763e0f379efe45f69c2ca17
Author: z3bra <contactatz3bradotorg>
Date: Thu, 20 Apr 2017 13:49:59 +0200
Add makefile for non-enlightened people
e1ffd5fb0b6aa9e5a763e0f379efe45f69c2ca172017-03-13T21:53:11Z2017-03-13T21:53:11ZDo not check streams shorter than a signaturez3bracontactatz3bradotorgcommit e1ffd5fb0b6aa9e5a763e0f379efe45f69c2ca17
parent 64c338df3e9e8f8e4d407f4fe1d1811ece190752
Author: z3bra <contactatz3bradotorg>
Date: Mon, 13 Mar 2017 22:53:11 +0100
Do not check streams shorter than a signature
64c338df3e9e8f8e4d407f4fe1d1811ece1907522017-03-13T21:52:24Z2017-03-13T21:52:24ZStop bufferizing on end-of-filez3bracontactatz3bradotorgcommit 64c338df3e9e8f8e4d407f4fe1d1811ece190752
parent b9f3b5b125d654314a9b5964d7728b4e7222fd63
Author: z3bra <contactatz3bradotorg>
Date: Mon, 13 Mar 2017 22:52:24 +0100
Stop bufferizing on end-of-file
b9f3b5b125d654314a9b5964d7728b4e7222fd632017-02-16T14:16:02Z2017-02-16T14:16:02ZChange MAX_INPUT to _POSIX_MAX_INPUTz3bracontactatz3bradotorgcommit b9f3b5b125d654314a9b5964d7728b4e7222fd63
parent 7e8ba70b517b34855a6d125a85fe139b35cd2789
Author: z3bra <contactatz3bradotorg>
Date: Thu, 16 Feb 2017 15:16:02 +0100
Change MAX_INPUT to _POSIX_MAX_INPUT
7e8ba70b517b34855a6d125a85fe139b35cd27892017-02-16T14:06:43Z2017-02-16T14:06:43ZUpdate git module URIz3bracontactatz3bradotorgcommit 7e8ba70b517b34855a6d125a85fe139b35cd2789
parent 509b9259ed6fa5424460a2947a8cae2fcc952814
Author: z3bra <contactatz3bradotorg>
Date: Thu, 16 Feb 2017 15:06:43 +0100
Update git module URI
509b9259ed6fa5424460a2947a8cae2fcc9528142017-01-19T14:39:58Z2017-01-19T14:39:58ZHandle non-armored signaturesz3bracontactatz3bradotorgcommit 509b9259ed6fa5424460a2947a8cae2fcc952814
parent 1e699f32b8e2a0cfeaae3ac182b7ca0db6cb9c92
Author: z3bra <contactatz3bradotorg>
Date: Thu, 19 Jan 2017 15:39:58 +0100
Handle non-armored signatures
sick(1) now defaults to non-armored signatures, as they don't make sense
for binary streams. Armored format can be brought back using a flag.
A few points worth noticing:
* There is no smart guessing about the format to use
* In raw format, the last 64 bytes are assumed to be the signature
* In raw format, a trailing \n is *NOT* appended
* The armored flag does not apply to the key pair generation
1e699f32b8e2a0cfeaae3ac182b7ca0db6cb9c922016-09-14T21:53:16Z2016-09-14T21:53:16ZMake signature invalid if not at the endz3brawillyatmailoodotorgcommit 1e699f32b8e2a0cfeaae3ac182b7ca0db6cb9c92
parent 398fc545a7d63eafa6764cf0ca320798ec3b88b3
Author: z3bra <willyatmailoodotorg>
Date: Wed, 14 Sep 2016 23:53:16 +0200
Make signature invalid if not at the end
398fc545a7d63eafa6764cf0ca320798ec3b88b32016-09-14T21:52:23Z2016-09-14T21:52:23ZSearch signature backward from end of streamz3brawillyatmailoodotorgcommit 398fc545a7d63eafa6764cf0ca320798ec3b88b3
parent cc294e4bf70f3e2bb907a15c94b18f3535011105
Author: z3bra <willyatmailoodotorg>
Date: Wed, 14 Sep 2016 23:52:23 +0200
Search signature backward from end of stream
cc294e4bf70f3e2bb907a15c94b18f35350111052016-09-14T11:43:08Z2016-09-14T11:43:08ZPass correct buffer lenght to extract messagez3brawillyatmailoodotorgcommit cc294e4bf70f3e2bb907a15c94b18f3535011105
parent 0283c9565a52696b5c3129fcb1d5cbf672329e9a
Author: z3bra <willyatmailoodotorg>
Date: Wed, 14 Sep 2016 13:43:08 +0200
Pass correct buffer lenght to extract message
0283c9565a52696b5c3129fcb1d5cbf672329e9a2016-09-13T21:43:11Z2016-09-13T21:43:11ZAllow needle at end of haystackz3brawillyatmailoodotorgcommit 0283c9565a52696b5c3129fcb1d5cbf672329e9a
parent 6d05eb404c6e4b43d169c11d9bd0c59303d41e61
Author: z3bra <willyatmailoodotorg>
Date: Tue, 13 Sep 2016 23:43:11 +0200
Allow needle at end of haystack
6d05eb404c6e4b43d169c11d9bd0c59303d41e612016-09-13T21:20:54Z2016-09-13T21:20:54ZCheck signature len explicitelyz3brawillyatmailoodotorgcommit 6d05eb404c6e4b43d169c11d9bd0c59303d41e61
parent 729b4c31f2073cde4f9a641d44e306543d12af2d
Author: z3bra <willyatmailoodotorg>
Date: Tue, 13 Sep 2016 23:20:54 +0200
Check signature len explicitely
729b4c31f2073cde4f9a641d44e306543d12af2d2016-09-13T19:47:28Z2016-09-13T19:47:28ZUse in-house memstr() in place of strstr()z3brawillyatmailoodotorgcommit 729b4c31f2073cde4f9a641d44e306543d12af2d
parent 21c53931e5f71af23cda059dfffbadc94ab59b5c
Author: z3bra <willyatmailoodotorg>
Date: Tue, 13 Sep 2016 21:47:28 +0200
Use in-house memstr() in place of strstr()
21c53931e5f71af23cda059dfffbadc94ab59b5c2016-05-17T06:47:07Z2016-05-17T06:49:37ZAdd a function to discard a signaturez3brawillyatmailoodotorgcommit 21c53931e5f71af23cda059dfffbadc94ab59b5c
parent 971109b68dea44b87c6e62538aea62856657f7e4
Author: z3bra <willyatmailoodotorg>
Date: Tue, 17 May 2016 08:47:07 +0200
Add a function to discard a signature
971109b68dea44b87c6e62538aea62856657f7e42016-05-16T21:11:35Z2016-05-16T21:11:35ZComment out code and functionsz3brawillyatmailoodotorgcommit 971109b68dea44b87c6e62538aea62856657f7e4
parent a213aaa860eb78fb708172bbe802cd4a8fff5d07
Author: z3bra <willyatmailoodotorg>
Date: Mon, 16 May 2016 23:11:35 +0200
Comment out code and functions
a213aaa860eb78fb708172bbe802cd4a8fff5d072016-05-16T11:32:05Z2016-05-16T11:44:09ZCrawl $KEYRING if no key is providedz3brawillyatmailoodotorgcommit a213aaa860eb78fb708172bbe802cd4a8fff5d07
parent ba646b3bb0828dce3e6ae91020556a740489cfcd
Author: z3bra <willyatmailoodotorg>
Date: Mon, 16 May 2016 13:32:05 +0200
Crawl $KEYRING if no key is provided
When checking a stream, if the -f flag is not passed, sick(1) will crawl
the directory pointed to by the $KEYRING environment variable and check
all files within this directory against the signature, until all files
have been tested, or one of these public keys match the signature.
ba646b3bb0828dce3e6ae91020556a740489cfcd2016-05-16T10:28:48Z2016-05-16T10:28:48ZRework mkfilez3brawillyatmailoodotorgcommit ba646b3bb0828dce3e6ae91020556a740489cfcd
parent ab0b71c3a17687865d6fdd1e9faee41fde0f9f07
Author: z3bra <willyatmailoodotorg>
Date: Mon, 16 May 2016 12:28:48 +0200
Rework mkfile
ab0b71c3a17687865d6fdd1e9faee41fde0f9f072016-05-16T10:17:52Z2016-05-16T10:17:52ZAdd messages for verbose modez3brawillyatmailoodotorgcommit ab0b71c3a17687865d6fdd1e9faee41fde0f9f07
parent 616c92c3d219c4775880f872ae931c82e5313fa5
Author: z3bra <willyatmailoodotorg>
Date: Mon, 16 May 2016 12:17:52 +0200
Add messages for verbose mode
616c92c3d219c4775880f872ae931c82e5313fa52016-05-16T10:14:46Z2016-05-16T10:14:46ZAllow file to be given on the command linez3brawillyatmailoodotorgcommit 616c92c3d219c4775880f872ae931c82e5313fa5
parent 414648b3011b742fb82ee6e2f997973d43184345
Author: z3bra <willyatmailoodotorg>
Date: Mon, 16 May 2016 12:14:46 +0200
Allow file to be given on the command line
414648b3011b742fb82ee6e2f997973d431843452016-05-16T10:12:51Z2016-05-16T10:12:51ZSet error values explicitelyz3brawillyatmailoodotorgcommit 414648b3011b742fb82ee6e2f997973d43184345
parent 4b03fa5a2808b3ed5ca9aac689e2494ded2a4b20
Author: z3bra <willyatmailoodotorg>
Date: Mon, 16 May 2016 12:12:51 +0200
Set error values explicitely
4b03fa5a2808b3ed5ca9aac689e2494ded2a4b202016-05-16T08:29:27Z2016-05-16T08:29:27ZMake manpage more explicit about checksz3brawillyatmailoodotorgcommit 4b03fa5a2808b3ed5ca9aac689e2494ded2a4b20
parent b57ad6de0dc56cc0a4e94913e5d211db99162f3e
Author: z3bra <willyatmailoodotorg>
Date: Mon, 16 May 2016 10:29:27 +0200
Make manpage more explicit about checks
b57ad6de0dc56cc0a4e94913e5d211db99162f3e2016-05-16T08:19:28Z2016-05-16T08:19:28ZUpdate README and manpagez3brawillyatmailoodotorgcommit b57ad6de0dc56cc0a4e94913e5d211db99162f3e
parent b3e88aee5ac4cd166913cb6cb90eab185f04efbb
Author: z3bra <willyatmailoodotorg>
Date: Mon, 16 May 2016 10:19:28 +0200
Update README and manpage
b3e88aee5ac4cd166913cb6cb90eab185f04efbb2016-05-16T07:26:40Z2016-05-16T07:26:40ZDump content if signature is verifiedz3brawillyatmailoodotorgcommit b3e88aee5ac4cd166913cb6cb90eab185f04efbb
parent ec3a06cca6264dbe7ba775a13af695750b752fd0
Author: z3bra <willyatmailoodotorg>
Date: Mon, 16 May 2016 09:26:40 +0200
Dump content if signature is verified
ec3a06cca6264dbe7ba775a13af695750b752fd02016-05-16T07:09:22Z2016-05-16T07:09:22ZUse predifined error valuesz3brawillyatmailoodotorgcommit ec3a06cca6264dbe7ba775a13af695750b752fd0
parent 6474eebf7cc43835889c573f0905530e4244e952
Author: z3bra <willyatmailoodotorg>
Date: Mon, 16 May 2016 09:09:22 +0200
Use predifined error values
6474eebf7cc43835889c573f0905530e4244e9522016-05-15T18:08:43Z2016-05-15T18:08:43ZFix segfault when no key is providedz3brawillyatmailoodotorgcommit 6474eebf7cc43835889c573f0905530e4244e952
parent cf7487682de47853e36e36330ac80b0c0388562f
Author: z3bra <willyatmailoodotorg>
Date: Sun, 15 May 2016 20:08:43 +0200
Fix segfault when no key is provided
cf7487682de47853e36e36330ac80b0c0388562f2016-05-15T17:49:40Z2016-05-15T17:49:40ZMake check() the default actionz3brawillyatmailoodotorgcommit cf7487682de47853e36e36330ac80b0c0388562f
parent 3b4707049d2bd297a3c71d4082682e0b98930f26
Author: z3bra <willyatmailoodotorg>
Date: Sun, 15 May 2016 19:49:40 +0200
Make check() the default action
3b4707049d2bd297a3c71d4082682e0b98930f262016-05-15T17:40:18Z2016-05-15T17:40:18ZSave return value of actionsz3brawillyatmailoodotorgcommit 3b4707049d2bd297a3c71d4082682e0b98930f26
parent 449abb00b6c12fd3ed5f0b19a250288b05d8e6b3
Author: z3bra <willyatmailoodotorg>
Date: Sun, 15 May 2016 19:40:18 +0200
Save return value of actions
449abb00b6c12fd3ed5f0b19a250288b05d8e6b32016-05-15T17:39:18Z2016-05-15T17:39:18ZReturn directly after creating the key pairz3brawillyatmailoodotorgcommit 449abb00b6c12fd3ed5f0b19a250288b05d8e6b3
parent 7ecf401609eb89626e79c80bd037e529e5f33511
Author: z3bra <willyatmailoodotorg>
Date: Sun, 15 May 2016 19:39:18 +0200
Return directly after creating the key pair
7ecf401609eb89626e79c80bd037e529e5f335112016-05-15T17:37:43Z2016-05-15T17:37:43Zcheck() verifies the signature of the messagez3brawillyatmailoodotorgcommit 7ecf401609eb89626e79c80bd037e529e5f33511
parent f25a0ec2408627875aea874ec4384e1cc0ad0d2e
Author: z3bra <willyatmailoodotorg>
Date: Sun, 15 May 2016 19:37:43 +0200
check() verifies the signature of the message
f25a0ec2408627875aea874ec4384e1cc0ad0d2e2016-05-15T17:35:25Z2016-05-15T17:35:25Zextractsig() copies the signature to the bufferz3brawillyatmailoodotorgcommit f25a0ec2408627875aea874ec4384e1cc0ad0d2e
parent 7da5e6eeeaafa4f29f629e0fe3b4ea4ee7db5f02
Author: z3bra <willyatmailoodotorg>
Date: Sun, 15 May 2016 19:35:25 +0200
extractsig() copies the signature to the buffer
7da5e6eeeaafa4f29f629e0fe3b4ea4ee7db5f022016-05-15T17:34:39Z2016-05-15T17:34:39Zextractmsg() copies the message only to the bufferz3brawillyatmailoodotorgcommit 7da5e6eeeaafa4f29f629e0fe3b4ea4ee7db5f02
parent 90ff47779b49abf0edadf12c08039f6af7866706
Author: z3bra <willyatmailoodotorg>
Date: Sun, 15 May 2016 19:34:39 +0200
extractmsg() copies the message only to the buffer
90ff47779b49abf0edadf12c08039f6af78667062016-05-15T17:33:04Z2016-05-15T17:33:04ZClose openned streams on exitz3brawillyatmailoodotorgcommit 90ff47779b49abf0edadf12c08039f6af7866706
parent 77e9241884ebb0cb48f6038baf35cafa02952a51
Author: z3bra <willyatmailoodotorg>
Date: Sun, 15 May 2016 19:33:04 +0200
Close openned streams on exit
77e9241884ebb0cb48f6038baf35cafa02952a512016-05-15T17:30:10Z2016-05-15T17:30:10ZUse strlen() rather than sizeof()z3brawillyatmailoodotorgcommit 77e9241884ebb0cb48f6038baf35cafa02952a51
parent a92ed5dba1cf5168b8b7db759641bed54e7751bd
Author: z3bra <willyatmailoodotorg>
Date: Sun, 15 May 2016 19:30:10 +0200
Use strlen() rather than sizeof()
a92ed5dba1cf5168b8b7db759641bed54e7751bd2016-05-15T17:24:44Z2016-05-15T17:28:23ZChange bufferize() prototypez3brawillyatmailoodotorgcommit a92ed5dba1cf5168b8b7db759641bed54e7751bd
parent 0a1faeea7f13aa5c473500e50674877f92fe6edc
Author: z3bra <willyatmailoodotorg>
Date: Sun, 15 May 2016 19:24:44 +0200
Change bufferize() prototype
Write buffer to a `signed char *` rather than `unsigned`. Make it
easier and saner to deal with internally.
sign() uses memcpy to convert the buffer from `signed` to `unsigned`.
0a1faeea7f13aa5c473500e50674877f92fe6edc2016-05-15T17:22:11Z2016-05-15T17:22:11ZFix incorrect write of public keyz3brawillyatmailoodotorgcommit 0a1faeea7f13aa5c473500e50674877f92fe6edc
parent 972407f932b6471bf3821cade75cf38cf7cfc9f1
Author: z3bra <willyatmailoodotorg>
Date: Sun, 15 May 2016 19:22:11 +0200
Fix incorrect write of public key
972407f932b6471bf3821cade75cf38cf7cfc9f12016-05-15T17:19:07Z2016-05-15T17:19:07ZAdd a verbose modez3brawillyatmailoodotorgcommit 972407f932b6471bf3821cade75cf38cf7cfc9f1
parent 97fda1b50e8baf17d602bae061b2893268fb97e8
Author: z3bra <willyatmailoodotorg>
Date: Sun, 15 May 2016 19:19:07 +0200
Add a verbose mode
97fda1b50e8baf17d602bae061b2893268fb97e82016-05-15T17:16:46Z2016-05-15T17:16:46ZRemove \n prefixing SIGBEGINz3brawillyatmailoodotorgcommit 97fda1b50e8baf17d602bae061b2893268fb97e8
parent 7b15a4a59216c496823d85e05bf1943bdc94aa46
Author: z3bra <willyatmailoodotorg>
Date: Sun, 15 May 2016 19:16:46 +0200
Remove \n prefixing SIGBEGIN
7b15a4a59216c496823d85e05bf1943bdc94aa462016-05-15T17:13:20Z2016-05-15T17:13:20Zbase64.c: Make decoding cleanerz3brawillyatmailoodotorgcommit 7b15a4a59216c496823d85e05bf1943bdc94aa46
parent 05178a34d49b9fbc542dddae28bd8ab0477462ea
Author: z3bra <willyatmailoodotorg>
Date: Sun, 15 May 2016 19:13:20 +0200
base64.c: Make decoding cleaner
05178a34d49b9fbc542dddae28bd8ab0477462ea2016-05-11T21:44:54Z2016-05-11T21:44:54Zbase64: return encoded size without \0z3brawillyatmailoodotorgcommit 05178a34d49b9fbc542dddae28bd8ab0477462ea
parent 80b802dd8d9344594c3bfdeb703abb2509de8d35
Author: z3bra <willyatmailoodotorg>
Date: Wed, 11 May 2016 23:44:54 +0200
base64: return encoded size without \0
80b802dd8d9344594c3bfdeb703abb2509de8d352016-05-10T19:01:28Z2016-05-10T19:01:28ZAdd a function to bufferize input streamz3brawillyatmailoodotorgcommit 80b802dd8d9344594c3bfdeb703abb2509de8d35
parent 94ec40e42c2f1515fd496fd9ee10ec60c4a0cd63
Author: z3bra <willyatmailoodotorg>
Date: Tue, 10 May 2016 21:01:28 +0200
Add a function to bufferize input stream
94ec40e42c2f1515fd496fd9ee10ec60c4a0cd632016-05-10T19:00:40Z2016-05-10T19:00:40ZPut a new line before the signaturez3brawillyatmailoodotorgcommit 94ec40e42c2f1515fd496fd9ee10ec60c4a0cd63
parent 7aac7dbb2bbaf2250d0b9ecf7ecac33086242906
Author: z3bra <willyatmailoodotorg>
Date: Tue, 10 May 2016 21:00:40 +0200
Put a new line before the signature
7aac7dbb2bbaf2250d0b9ecf7ecac330862429062016-05-10T17:47:58Z2016-05-10T17:47:58ZAdd sign() prototypez3brawillyatmailoodotorgcommit 7aac7dbb2bbaf2250d0b9ecf7ecac33086242906
parent 16776aab3a8a26454bcf39caf645b40f0cb3ad4b
Author: z3bra <willyatmailoodotorg>
Date: Tue, 10 May 2016 19:47:58 +0200
Add sign() prototype
16776aab3a8a26454bcf39caf645b40f0cb3ad4b2016-05-10T17:44:59Z2016-05-10T17:45:05ZMove base64_index() prototype to base64.cz3brawillyatmailoodotorgcommit 16776aab3a8a26454bcf39caf645b40f0cb3ad4b
parent 8607d9671280e57b2dac351bf74ad3b4292bd586
Author: z3bra <willyatmailoodotorg>
Date: Tue, 10 May 2016 19:44:59 +0200
Move base64_index() prototype to base64.c
8607d9671280e57b2dac351bf74ad3b4292bd5862016-05-10T17:39:01Z2016-05-10T17:39:01ZImplement base64_decode()z3brawillyatmailoodotorgcommit 8607d9671280e57b2dac351bf74ad3b4292bd586
parent 565aac4be8c959bd7627836c2dae8823abca449a
Author: z3bra <willyatmailoodotorg>
Date: Tue, 10 May 2016 19:39:01 +0200
Implement base64_decode()
565aac4be8c959bd7627836c2dae8823abca449a2016-05-10T06:23:29Z2016-05-10T06:23:29ZSimplify base64_table[] declarationz3brawillyatmailoodotorgcommit 565aac4be8c959bd7627836c2dae8823abca449a
parent a6d6dd7c102aeed81bed2c7806880a5169072103
Author: z3bra <willyatmailoodotorg>
Date: Tue, 10 May 2016 08:23:29 +0200
Simplify base64_table[] declaration
a6d6dd7c102aeed81bed2c7806880a51690721032016-05-09T11:43:11Z2016-05-09T11:43:11ZImplement signing in base64 formatz3brawillyatmailoodotorgcommit a6d6dd7c102aeed81bed2c7806880a5169072103
parent 2d6981d14b013ef2b573a349dc2bd41a560af285
Author: z3bra <willyatmailoodotorg>
Date: Mon, 9 May 2016 13:43:11 +0200
Implement signing in base64 format
The whole stream will be stored in a buffer and used for the signature.
Signature will be appended at the end of the stream in base64 format,
between two lines:
-----BEGIN ED25519 SIGNATURE-----
-----END ED25519 SIGNATURE-----
The base64 encoded lines are wrapped at char 76, as defined by posix.
2d6981d14b013ef2b573a349dc2bd41a560af2852016-05-09T06:44:36Z2016-05-09T06:48:21ZAdd base64_format() to fold lines at a specified widthz3brawillyatmailoodotorgcommit 2d6981d14b013ef2b573a349dc2bd41a560af285
parent 3365573fd7ba9f5653418eeca336329047e1c983
Author: z3bra <willyatmailoodotorg>
Date: Mon, 9 May 2016 08:44:36 +0200
Add base64_format() to fold lines at a specified width
3365573fd7ba9f5653418eeca336329047e1c9832016-05-07T22:01:39Z2016-05-07T22:01:39ZDeclare base64_table[] in base64.cz3brawillyatmailoodotorgcommit 3365573fd7ba9f5653418eeca336329047e1c983
parent c781b566414ba4ad22f2018c57f6876c23e5e0d9
Author: z3bra <willyatmailoodotorg>
Date: Sun, 8 May 2016 00:01:39 +0200
Declare base64_table[] in base64.c
c781b566414ba4ad22f2018c57f6876c23e5e0d92016-05-07T09:42:29Z2016-05-07T09:42:29Zbase64_encode() workingz3brawillyatmailoodotorgcommit c781b566414ba4ad22f2018c57f6876c23e5e0d9
parent efa917d9e3ed2304b728d4263944ecc86120656d
Author: z3bra <willyatmailoodotorg>
Date: Sat, 7 May 2016 11:42:29 +0200
base64_encode() working
efa917d9e3ed2304b728d4263944ecc86120656d2016-05-03T20:17:23Z2016-05-03T20:17:23ZInitial commitz3brawillyatmailoodotorgcommit efa917d9e3ed2304b728d4263944ecc86120656d
Author: z3bra <willyatmailoodotorg>
Date: Tue, 3 May 2016 22:17:23 +0200
Initial commit
Only function implemented yet is createkeypair() to generate a private
and public keys for the given alias.