sick, branch HEAD sign and check files using ed25519 9966ebe114dfc63ffb8a38ff032654a13253cb17 2023-08-25T06:16:45Z 2023-08-25T06:16:45Z Ensure key filepath are not overwritten Willy Goiffon contact@z3bra.org commit 9966ebe114dfc63ffb8a38ff032654a13253cb17 parent 3ea829018da240f2d59c156db537bbbbf06b9d7f Author: Willy Goiffon <contact@z3bra.org> Date: Fri, 25 Aug 2023 08:16:45 +0200 Ensure key filepath are not overwritten 3ea829018da240f2d59c156db537bbbbf06b9d7f 2023-08-25T06:06:46Z 2023-08-25T06:06:46Z Free memory used to store the key Willy Goiffon contact@z3bra.org commit 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 259292d1564073a40c90671ad9b8c2c242b76ad7 2023-08-25T06:03:16Z 2023-08-25T06:03:16Z Decode base64 keys on-the-fly Willy Goiffon contact@z3bra.org commit 259292d1564073a40c90671ad9b8c2c242b76ad7 parent 65c927600a8e8db3a65a2b62fce53a05aa97948c Author: Willy Goiffon <contact@z3bra.org> Date: Fri, 25 Aug 2023 08:03:16 +0200 Decode base64 keys on-the-fly 65c927600a8e8db3a65a2b62fce53a05aa97948c 2023-08-10T16:01:49Z 2023-08-10T16:01:49Z Write keys encoded in base64 format Willy Goiffon contact@z3bra.org commit 65c927600a8e8db3a65a2b62fce53a05aa97948c parent 0806ed0a99136ae1d118d0e19c2ec9648c9fc603 Author: Willy Goiffon <contact@z3bra.org> Date: Thu, 10 Aug 2023 18:01:49 +0200 Write keys encoded in base64 format 0806ed0a99136ae1d118d0e19c2ec9648c9fc603 2023-08-10T15:43:38Z 2023-08-10T15:43:38Z Swap ORLP ed25519 code for SUPERCOP reference implementation Willy Goiffon contact@z3bra.org commit 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 4db5b23df9c2def4e1316c4db4ec082a227c3412 2023-08-10T15:35:20Z 2023-08-10T15:35:20Z Trim trailing LF from base64 signatures Willy Goiffon contact@z3bra.org commit 4db5b23df9c2def4e1316c4db4ec082a227c3412 parent b48608a67e36deca673c3f5792886773bdba9ae4 Author: Willy Goiffon <contact@z3bra.org> Date: Thu, 10 Aug 2023 17:35:20 +0200 Trim trailing LF from base64 signatures b48608a67e36deca673c3f5792886773bdba9ae4 2020-06-02T11:36:35Z 2020-06-02T11:36:35Z Remove whitespaces from manpage Willy Goiffon dev@z3bra.org commit b48608a67e36deca673c3f5792886773bdba9ae4 parent 60ecb5437dce4b2cb787c3c80403ff3bb6648d0a Author: Willy Goiffon <dev@z3bra.org> Date: Tue, 2 Jun 2020 13:36:35 +0200 Remove whitespaces from manpage 60ecb5437dce4b2cb787c3c80403ff3bb6648d0a 2020-06-02T11:34:21Z 2020-06-02T11:34:39Z Update ed25519 library to an up-to-date version Willy Goiffon dev@z3bra.org commit 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 4b5bc4c8bffcb488540514047115e7e0371c51be 2020-06-02T11:32:37Z 2020-06-02T11:32:37Z Remove VERSION from config.mk Willy Goiffon dev@z3bra.org commit 4b5bc4c8bffcb488540514047115e7e0371c51be parent b0632259e7c28d83e750c29b7869a1d978dcd99a Author: Willy Goiffon <dev@z3bra.org> Date: Tue, 2 Jun 2020 13:32:37 +0200 Remove VERSION from config.mk b0632259e7c28d83e750c29b7869a1d978dcd99a 2020-06-02T11:31:13Z 2020-06-02T11:31:13Z Rename MANDIR to MANPREFIX Willy Goiffon dev@z3bra.org commit b0632259e7c28d83e750c29b7869a1d978dcd99a parent cf2e13adb8c1d9736812969c5783e000e142174e Author: Willy Goiffon <dev@z3bra.org> Date: Tue, 2 Jun 2020 13:31:13 +0200 Rename MANDIR to MANPREFIX cf2e13adb8c1d9736812969c5783e000e142174e 2020-06-02T11:30:50Z 2020-06-02T11:30:50Z Separate build/install commands in README Willy Goiffon dev@z3bra.org commit cf2e13adb8c1d9736812969c5783e000e142174e parent 8e5d85ec0f5d9eb7e8eab583a92b4d8c830330e7 Author: Willy Goiffon <dev@z3bra.org> Date: Tue, 2 Jun 2020 13:30:50 +0200 Separate build/install commands in README 8e5d85ec0f5d9eb7e8eab583a92b4d8c830330e7 2020-05-29T17:42:07Z 2020-05-29T17:42:07Z Update README to be cleaner and simpler Willy Goiffon dev@z3bra.org commit 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 1b59e739f7fd450e578e5be3b47370d975333ae2 2019-07-01T08:52:55Z 2019-07-01T09:08:12Z Update contact information Willy Goiffon dev@z3bra.org commit 1b59e739f7fd450e578e5be3b47370d975333ae2 parent 262a2596fe29ffe1115c7ea5ccf34d28a6771fe0 Author: Willy Goiffon <dev@z3bra.org> Date: Mon, 1 Jul 2019 10:52:55 +0200 Update contact information 262a2596fe29ffe1115c7ea5ccf34d28a6771fe0 2017-06-07T06:48:55Z 2017-07-18T23:47:10Z Complete README to give deserved credits z3bra contactatz3bradotorg commit 262a2596fe29ffe1115c7ea5ccf34d28a6771fe0 parent eada8c0509bfb04505efe198a6bf3ae9dbf8c22a Author: z3bra <contactatz3bradotorg> Date: Wed, 7 Jun 2017 08:48:55 +0200 Complete README to give deserved credits eada8c0509bfb04505efe198a6bf3ae9dbf8c22a 2017-06-07T06:48:15Z 2017-07-18T23:44:18Z Render makefile stricly POSIX z3bra contactatz3bradotorg commit eada8c0509bfb04505efe198a6bf3ae9dbf8c22a parent 31642f26ccb7474f87d042e6f516d14fdce0fe88 Author: z3bra <contactatz3bradotorg> Date: Wed, 7 Jun 2017 08:48:15 +0200 Render makefile stricly POSIX 31642f26ccb7474f87d042e6f516d14fdce0fe88 2017-06-07T06:31:47Z 2017-07-18T23:44:09Z Make ed25519 library part of the source tree z3bra contactatz3bradotorg commit 31642f26ccb7474f87d042e6f516d14fdce0fe88 parent 18e7f26aa077058b7e9782c784b3e5d9be1bd79b Author: z3bra <contactatz3bradotorg> Date: Wed, 7 Jun 2017 08:31:47 +0200 Make ed25519 library part of the source tree 18e7f26aa077058b7e9782c784b3e5d9be1bd79b 2017-06-06T22:28:12Z 2017-06-06T22:28:12Z Make the README shorter, and more useful z3bra contactatz3bradotorg commit 18e7f26aa077058b7e9782c784b3e5d9be1bd79b parent 34687c6620a38d46e79e8c51e9996af5607d12d6 Author: z3bra <contactatz3bradotorg> Date: Wed, 7 Jun 2017 00:28:12 +0200 Make the README shorter, and more useful 34687c6620a38d46e79e8c51e9996af5607d12d6 2017-06-06T22:27:52Z 2017-06-06T22:27:52Z Explain the $KEYRING variable z3bra contactatz3bradotorg commit 34687c6620a38d46e79e8c51e9996af5607d12d6 parent 59e49e375c8ea30e3bd5775dbd7d585245699296 Author: z3bra <contactatz3bradotorg> Date: Wed, 7 Jun 2017 00:27:52 +0200 Explain the $KEYRING variable 59e49e375c8ea30e3bd5775dbd7d585245699296 2017-04-20T11:50:17Z 2017-05-18T06:21:30Z Bump version 1.1 z3bra contactatz3bradotorg commit 59e49e375c8ea30e3bd5775dbd7d585245699296 parent caa80985e077f242775ac82f451f73f445d9c27c Author: z3bra <contactatz3bradotorg> Date: Thu, 20 Apr 2017 13:50:17 +0200 Bump version 1.1 caa80985e077f242775ac82f451f73f445d9c27c 2017-04-20T11:49:59Z 2017-04-20T11:49:59Z Add makefile for non-enlightened people z3bra contactatz3bradotorg commit caa80985e077f242775ac82f451f73f445d9c27c parent e1ffd5fb0b6aa9e5a763e0f379efe45f69c2ca17 Author: z3bra <contactatz3bradotorg> Date: Thu, 20 Apr 2017 13:49:59 +0200 Add makefile for non-enlightened people e1ffd5fb0b6aa9e5a763e0f379efe45f69c2ca17 2017-03-13T21:53:11Z 2017-03-13T21:53:11Z Do not check streams shorter than a signature z3bra contactatz3bradotorg commit e1ffd5fb0b6aa9e5a763e0f379efe45f69c2ca17 parent 64c338df3e9e8f8e4d407f4fe1d1811ece190752 Author: z3bra <contactatz3bradotorg> Date: Mon, 13 Mar 2017 22:53:11 +0100 Do not check streams shorter than a signature 64c338df3e9e8f8e4d407f4fe1d1811ece190752 2017-03-13T21:52:24Z 2017-03-13T21:52:24Z Stop bufferizing on end-of-file z3bra contactatz3bradotorg commit 64c338df3e9e8f8e4d407f4fe1d1811ece190752 parent b9f3b5b125d654314a9b5964d7728b4e7222fd63 Author: z3bra <contactatz3bradotorg> Date: Mon, 13 Mar 2017 22:52:24 +0100 Stop bufferizing on end-of-file b9f3b5b125d654314a9b5964d7728b4e7222fd63 2017-02-16T14:16:02Z 2017-02-16T14:16:02Z Change MAX_INPUT to _POSIX_MAX_INPUT z3bra contactatz3bradotorg commit b9f3b5b125d654314a9b5964d7728b4e7222fd63 parent 7e8ba70b517b34855a6d125a85fe139b35cd2789 Author: z3bra <contactatz3bradotorg> Date: Thu, 16 Feb 2017 15:16:02 +0100 Change MAX_INPUT to _POSIX_MAX_INPUT 7e8ba70b517b34855a6d125a85fe139b35cd2789 2017-02-16T14:06:43Z 2017-02-16T14:06:43Z Update git module URI z3bra contactatz3bradotorg commit 7e8ba70b517b34855a6d125a85fe139b35cd2789 parent 509b9259ed6fa5424460a2947a8cae2fcc952814 Author: z3bra <contactatz3bradotorg> Date: Thu, 16 Feb 2017 15:06:43 +0100 Update git module URI 509b9259ed6fa5424460a2947a8cae2fcc952814 2017-01-19T14:39:58Z 2017-01-19T14:39:58Z Handle non-armored signatures z3bra contactatz3bradotorg commit 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 1e699f32b8e2a0cfeaae3ac182b7ca0db6cb9c92 2016-09-14T21:53:16Z 2016-09-14T21:53:16Z Make signature invalid if not at the end z3bra willyatmailoodotorg commit 1e699f32b8e2a0cfeaae3ac182b7ca0db6cb9c92 parent 398fc545a7d63eafa6764cf0ca320798ec3b88b3 Author: z3bra <willyatmailoodotorg> Date: Wed, 14 Sep 2016 23:53:16 +0200 Make signature invalid if not at the end 398fc545a7d63eafa6764cf0ca320798ec3b88b3 2016-09-14T21:52:23Z 2016-09-14T21:52:23Z Search signature backward from end of stream z3bra willyatmailoodotorg commit 398fc545a7d63eafa6764cf0ca320798ec3b88b3 parent cc294e4bf70f3e2bb907a15c94b18f3535011105 Author: z3bra <willyatmailoodotorg> Date: Wed, 14 Sep 2016 23:52:23 +0200 Search signature backward from end of stream cc294e4bf70f3e2bb907a15c94b18f3535011105 2016-09-14T11:43:08Z 2016-09-14T11:43:08Z Pass correct buffer lenght to extract message z3bra willyatmailoodotorg commit cc294e4bf70f3e2bb907a15c94b18f3535011105 parent 0283c9565a52696b5c3129fcb1d5cbf672329e9a Author: z3bra <willyatmailoodotorg> Date: Wed, 14 Sep 2016 13:43:08 +0200 Pass correct buffer lenght to extract message 0283c9565a52696b5c3129fcb1d5cbf672329e9a 2016-09-13T21:43:11Z 2016-09-13T21:43:11Z Allow needle at end of haystack z3bra willyatmailoodotorg commit 0283c9565a52696b5c3129fcb1d5cbf672329e9a parent 6d05eb404c6e4b43d169c11d9bd0c59303d41e61 Author: z3bra <willyatmailoodotorg> Date: Tue, 13 Sep 2016 23:43:11 +0200 Allow needle at end of haystack 6d05eb404c6e4b43d169c11d9bd0c59303d41e61 2016-09-13T21:20:54Z 2016-09-13T21:20:54Z Check signature len explicitely z3bra willyatmailoodotorg commit 6d05eb404c6e4b43d169c11d9bd0c59303d41e61 parent 729b4c31f2073cde4f9a641d44e306543d12af2d Author: z3bra <willyatmailoodotorg> Date: Tue, 13 Sep 2016 23:20:54 +0200 Check signature len explicitely 729b4c31f2073cde4f9a641d44e306543d12af2d 2016-09-13T19:47:28Z 2016-09-13T19:47:28Z Use in-house memstr() in place of strstr() z3bra willyatmailoodotorg commit 729b4c31f2073cde4f9a641d44e306543d12af2d parent 21c53931e5f71af23cda059dfffbadc94ab59b5c Author: z3bra <willyatmailoodotorg> Date: Tue, 13 Sep 2016 21:47:28 +0200 Use in-house memstr() in place of strstr() 21c53931e5f71af23cda059dfffbadc94ab59b5c 2016-05-17T06:47:07Z 2016-05-17T06:49:37Z Add a function to discard a signature z3bra willyatmailoodotorg commit 21c53931e5f71af23cda059dfffbadc94ab59b5c parent 971109b68dea44b87c6e62538aea62856657f7e4 Author: z3bra <willyatmailoodotorg> Date: Tue, 17 May 2016 08:47:07 +0200 Add a function to discard a signature 971109b68dea44b87c6e62538aea62856657f7e4 2016-05-16T21:11:35Z 2016-05-16T21:11:35Z Comment out code and functions z3bra willyatmailoodotorg commit 971109b68dea44b87c6e62538aea62856657f7e4 parent a213aaa860eb78fb708172bbe802cd4a8fff5d07 Author: z3bra <willyatmailoodotorg> Date: Mon, 16 May 2016 23:11:35 +0200 Comment out code and functions a213aaa860eb78fb708172bbe802cd4a8fff5d07 2016-05-16T11:32:05Z 2016-05-16T11:44:09Z Crawl $KEYRING if no key is provided z3bra willyatmailoodotorg commit 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. ba646b3bb0828dce3e6ae91020556a740489cfcd 2016-05-16T10:28:48Z 2016-05-16T10:28:48Z Rework mkfile z3bra willyatmailoodotorg commit ba646b3bb0828dce3e6ae91020556a740489cfcd parent ab0b71c3a17687865d6fdd1e9faee41fde0f9f07 Author: z3bra <willyatmailoodotorg> Date: Mon, 16 May 2016 12:28:48 +0200 Rework mkfile ab0b71c3a17687865d6fdd1e9faee41fde0f9f07 2016-05-16T10:17:52Z 2016-05-16T10:17:52Z Add messages for verbose mode z3bra willyatmailoodotorg commit ab0b71c3a17687865d6fdd1e9faee41fde0f9f07 parent 616c92c3d219c4775880f872ae931c82e5313fa5 Author: z3bra <willyatmailoodotorg> Date: Mon, 16 May 2016 12:17:52 +0200 Add messages for verbose mode 616c92c3d219c4775880f872ae931c82e5313fa5 2016-05-16T10:14:46Z 2016-05-16T10:14:46Z Allow file to be given on the command line z3bra willyatmailoodotorg commit 616c92c3d219c4775880f872ae931c82e5313fa5 parent 414648b3011b742fb82ee6e2f997973d43184345 Author: z3bra <willyatmailoodotorg> Date: Mon, 16 May 2016 12:14:46 +0200 Allow file to be given on the command line 414648b3011b742fb82ee6e2f997973d43184345 2016-05-16T10:12:51Z 2016-05-16T10:12:51Z Set error values explicitely z3bra willyatmailoodotorg commit 414648b3011b742fb82ee6e2f997973d43184345 parent 4b03fa5a2808b3ed5ca9aac689e2494ded2a4b20 Author: z3bra <willyatmailoodotorg> Date: Mon, 16 May 2016 12:12:51 +0200 Set error values explicitely 4b03fa5a2808b3ed5ca9aac689e2494ded2a4b20 2016-05-16T08:29:27Z 2016-05-16T08:29:27Z Make manpage more explicit about checks z3bra willyatmailoodotorg commit 4b03fa5a2808b3ed5ca9aac689e2494ded2a4b20 parent b57ad6de0dc56cc0a4e94913e5d211db99162f3e Author: z3bra <willyatmailoodotorg> Date: Mon, 16 May 2016 10:29:27 +0200 Make manpage more explicit about checks b57ad6de0dc56cc0a4e94913e5d211db99162f3e 2016-05-16T08:19:28Z 2016-05-16T08:19:28Z Update README and manpage z3bra willyatmailoodotorg commit b57ad6de0dc56cc0a4e94913e5d211db99162f3e parent b3e88aee5ac4cd166913cb6cb90eab185f04efbb Author: z3bra <willyatmailoodotorg> Date: Mon, 16 May 2016 10:19:28 +0200 Update README and manpage b3e88aee5ac4cd166913cb6cb90eab185f04efbb 2016-05-16T07:26:40Z 2016-05-16T07:26:40Z Dump content if signature is verified z3bra willyatmailoodotorg commit b3e88aee5ac4cd166913cb6cb90eab185f04efbb parent ec3a06cca6264dbe7ba775a13af695750b752fd0 Author: z3bra <willyatmailoodotorg> Date: Mon, 16 May 2016 09:26:40 +0200 Dump content if signature is verified ec3a06cca6264dbe7ba775a13af695750b752fd0 2016-05-16T07:09:22Z 2016-05-16T07:09:22Z Use predifined error values z3bra willyatmailoodotorg commit ec3a06cca6264dbe7ba775a13af695750b752fd0 parent 6474eebf7cc43835889c573f0905530e4244e952 Author: z3bra <willyatmailoodotorg> Date: Mon, 16 May 2016 09:09:22 +0200 Use predifined error values 6474eebf7cc43835889c573f0905530e4244e952 2016-05-15T18:08:43Z 2016-05-15T18:08:43Z Fix segfault when no key is provided z3bra willyatmailoodotorg commit 6474eebf7cc43835889c573f0905530e4244e952 parent cf7487682de47853e36e36330ac80b0c0388562f Author: z3bra <willyatmailoodotorg> Date: Sun, 15 May 2016 20:08:43 +0200 Fix segfault when no key is provided cf7487682de47853e36e36330ac80b0c0388562f 2016-05-15T17:49:40Z 2016-05-15T17:49:40Z Make check() the default action z3bra willyatmailoodotorg commit cf7487682de47853e36e36330ac80b0c0388562f parent 3b4707049d2bd297a3c71d4082682e0b98930f26 Author: z3bra <willyatmailoodotorg> Date: Sun, 15 May 2016 19:49:40 +0200 Make check() the default action 3b4707049d2bd297a3c71d4082682e0b98930f26 2016-05-15T17:40:18Z 2016-05-15T17:40:18Z Save return value of actions z3bra willyatmailoodotorg commit 3b4707049d2bd297a3c71d4082682e0b98930f26 parent 449abb00b6c12fd3ed5f0b19a250288b05d8e6b3 Author: z3bra <willyatmailoodotorg> Date: Sun, 15 May 2016 19:40:18 +0200 Save return value of actions 449abb00b6c12fd3ed5f0b19a250288b05d8e6b3 2016-05-15T17:39:18Z 2016-05-15T17:39:18Z Return directly after creating the key pair z3bra willyatmailoodotorg commit 449abb00b6c12fd3ed5f0b19a250288b05d8e6b3 parent 7ecf401609eb89626e79c80bd037e529e5f33511 Author: z3bra <willyatmailoodotorg> Date: Sun, 15 May 2016 19:39:18 +0200 Return directly after creating the key pair 7ecf401609eb89626e79c80bd037e529e5f33511 2016-05-15T17:37:43Z 2016-05-15T17:37:43Z check() verifies the signature of the message z3bra willyatmailoodotorg commit 7ecf401609eb89626e79c80bd037e529e5f33511 parent f25a0ec2408627875aea874ec4384e1cc0ad0d2e Author: z3bra <willyatmailoodotorg> Date: Sun, 15 May 2016 19:37:43 +0200 check() verifies the signature of the message f25a0ec2408627875aea874ec4384e1cc0ad0d2e 2016-05-15T17:35:25Z 2016-05-15T17:35:25Z extractsig() copies the signature to the buffer z3bra willyatmailoodotorg commit f25a0ec2408627875aea874ec4384e1cc0ad0d2e parent 7da5e6eeeaafa4f29f629e0fe3b4ea4ee7db5f02 Author: z3bra <willyatmailoodotorg> Date: Sun, 15 May 2016 19:35:25 +0200 extractsig() copies the signature to the buffer 7da5e6eeeaafa4f29f629e0fe3b4ea4ee7db5f02 2016-05-15T17:34:39Z 2016-05-15T17:34:39Z extractmsg() copies the message only to the buffer z3bra willyatmailoodotorg commit 7da5e6eeeaafa4f29f629e0fe3b4ea4ee7db5f02 parent 90ff47779b49abf0edadf12c08039f6af7866706 Author: z3bra <willyatmailoodotorg> Date: Sun, 15 May 2016 19:34:39 +0200 extractmsg() copies the message only to the buffer 90ff47779b49abf0edadf12c08039f6af7866706 2016-05-15T17:33:04Z 2016-05-15T17:33:04Z Close openned streams on exit z3bra willyatmailoodotorg commit 90ff47779b49abf0edadf12c08039f6af7866706 parent 77e9241884ebb0cb48f6038baf35cafa02952a51 Author: z3bra <willyatmailoodotorg> Date: Sun, 15 May 2016 19:33:04 +0200 Close openned streams on exit 77e9241884ebb0cb48f6038baf35cafa02952a51 2016-05-15T17:30:10Z 2016-05-15T17:30:10Z Use strlen() rather than sizeof() z3bra willyatmailoodotorg commit 77e9241884ebb0cb48f6038baf35cafa02952a51 parent a92ed5dba1cf5168b8b7db759641bed54e7751bd Author: z3bra <willyatmailoodotorg> Date: Sun, 15 May 2016 19:30:10 +0200 Use strlen() rather than sizeof() a92ed5dba1cf5168b8b7db759641bed54e7751bd 2016-05-15T17:24:44Z 2016-05-15T17:28:23Z Change bufferize() prototype z3bra willyatmailoodotorg commit 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`. 0a1faeea7f13aa5c473500e50674877f92fe6edc 2016-05-15T17:22:11Z 2016-05-15T17:22:11Z Fix incorrect write of public key z3bra willyatmailoodotorg commit 0a1faeea7f13aa5c473500e50674877f92fe6edc parent 972407f932b6471bf3821cade75cf38cf7cfc9f1 Author: z3bra <willyatmailoodotorg> Date: Sun, 15 May 2016 19:22:11 +0200 Fix incorrect write of public key 972407f932b6471bf3821cade75cf38cf7cfc9f1 2016-05-15T17:19:07Z 2016-05-15T17:19:07Z Add a verbose mode z3bra willyatmailoodotorg commit 972407f932b6471bf3821cade75cf38cf7cfc9f1 parent 97fda1b50e8baf17d602bae061b2893268fb97e8 Author: z3bra <willyatmailoodotorg> Date: Sun, 15 May 2016 19:19:07 +0200 Add a verbose mode 97fda1b50e8baf17d602bae061b2893268fb97e8 2016-05-15T17:16:46Z 2016-05-15T17:16:46Z Remove \n prefixing SIGBEGIN z3bra willyatmailoodotorg commit 97fda1b50e8baf17d602bae061b2893268fb97e8 parent 7b15a4a59216c496823d85e05bf1943bdc94aa46 Author: z3bra <willyatmailoodotorg> Date: Sun, 15 May 2016 19:16:46 +0200 Remove \n prefixing SIGBEGIN 7b15a4a59216c496823d85e05bf1943bdc94aa46 2016-05-15T17:13:20Z 2016-05-15T17:13:20Z base64.c: Make decoding cleaner z3bra willyatmailoodotorg commit 7b15a4a59216c496823d85e05bf1943bdc94aa46 parent 05178a34d49b9fbc542dddae28bd8ab0477462ea Author: z3bra <willyatmailoodotorg> Date: Sun, 15 May 2016 19:13:20 +0200 base64.c: Make decoding cleaner 05178a34d49b9fbc542dddae28bd8ab0477462ea 2016-05-11T21:44:54Z 2016-05-11T21:44:54Z base64: return encoded size without \0 z3bra willyatmailoodotorg commit 05178a34d49b9fbc542dddae28bd8ab0477462ea parent 80b802dd8d9344594c3bfdeb703abb2509de8d35 Author: z3bra <willyatmailoodotorg> Date: Wed, 11 May 2016 23:44:54 +0200 base64: return encoded size without \0 80b802dd8d9344594c3bfdeb703abb2509de8d35 2016-05-10T19:01:28Z 2016-05-10T19:01:28Z Add a function to bufferize input stream z3bra willyatmailoodotorg commit 80b802dd8d9344594c3bfdeb703abb2509de8d35 parent 94ec40e42c2f1515fd496fd9ee10ec60c4a0cd63 Author: z3bra <willyatmailoodotorg> Date: Tue, 10 May 2016 21:01:28 +0200 Add a function to bufferize input stream 94ec40e42c2f1515fd496fd9ee10ec60c4a0cd63 2016-05-10T19:00:40Z 2016-05-10T19:00:40Z Put a new line before the signature z3bra willyatmailoodotorg commit 94ec40e42c2f1515fd496fd9ee10ec60c4a0cd63 parent 7aac7dbb2bbaf2250d0b9ecf7ecac33086242906 Author: z3bra <willyatmailoodotorg> Date: Tue, 10 May 2016 21:00:40 +0200 Put a new line before the signature 7aac7dbb2bbaf2250d0b9ecf7ecac33086242906 2016-05-10T17:47:58Z 2016-05-10T17:47:58Z Add sign() prototype z3bra willyatmailoodotorg commit 7aac7dbb2bbaf2250d0b9ecf7ecac33086242906 parent 16776aab3a8a26454bcf39caf645b40f0cb3ad4b Author: z3bra <willyatmailoodotorg> Date: Tue, 10 May 2016 19:47:58 +0200 Add sign() prototype 16776aab3a8a26454bcf39caf645b40f0cb3ad4b 2016-05-10T17:44:59Z 2016-05-10T17:45:05Z Move base64_index() prototype to base64.c z3bra willyatmailoodotorg commit 16776aab3a8a26454bcf39caf645b40f0cb3ad4b parent 8607d9671280e57b2dac351bf74ad3b4292bd586 Author: z3bra <willyatmailoodotorg> Date: Tue, 10 May 2016 19:44:59 +0200 Move base64_index() prototype to base64.c 8607d9671280e57b2dac351bf74ad3b4292bd586 2016-05-10T17:39:01Z 2016-05-10T17:39:01Z Implement base64_decode() z3bra willyatmailoodotorg commit 8607d9671280e57b2dac351bf74ad3b4292bd586 parent 565aac4be8c959bd7627836c2dae8823abca449a Author: z3bra <willyatmailoodotorg> Date: Tue, 10 May 2016 19:39:01 +0200 Implement base64_decode() 565aac4be8c959bd7627836c2dae8823abca449a 2016-05-10T06:23:29Z 2016-05-10T06:23:29Z Simplify base64_table[] declaration z3bra willyatmailoodotorg commit 565aac4be8c959bd7627836c2dae8823abca449a parent a6d6dd7c102aeed81bed2c7806880a5169072103 Author: z3bra <willyatmailoodotorg> Date: Tue, 10 May 2016 08:23:29 +0200 Simplify base64_table[] declaration a6d6dd7c102aeed81bed2c7806880a5169072103 2016-05-09T11:43:11Z 2016-05-09T11:43:11Z Implement signing in base64 format z3bra willyatmailoodotorg commit 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. 2d6981d14b013ef2b573a349dc2bd41a560af285 2016-05-09T06:44:36Z 2016-05-09T06:48:21Z Add base64_format() to fold lines at a specified width z3bra willyatmailoodotorg commit 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 3365573fd7ba9f5653418eeca336329047e1c983 2016-05-07T22:01:39Z 2016-05-07T22:01:39Z Declare base64_table[] in base64.c z3bra willyatmailoodotorg commit 3365573fd7ba9f5653418eeca336329047e1c983 parent c781b566414ba4ad22f2018c57f6876c23e5e0d9 Author: z3bra <willyatmailoodotorg> Date: Sun, 8 May 2016 00:01:39 +0200 Declare base64_table[] in base64.c c781b566414ba4ad22f2018c57f6876c23e5e0d9 2016-05-07T09:42:29Z 2016-05-07T09:42:29Z base64_encode() working z3bra willyatmailoodotorg commit c781b566414ba4ad22f2018c57f6876c23e5e0d9 parent efa917d9e3ed2304b728d4263944ecc86120656d Author: z3bra <willyatmailoodotorg> Date: Sat, 7 May 2016 11:42:29 +0200 base64_encode() working efa917d9e3ed2304b728d4263944ecc86120656d 2016-05-03T20:17:23Z 2016-05-03T20:17:23Z Initial commit z3bra willyatmailoodotorg commit 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.