ig-dkim.git
63 min agocleanup master
Art Cancro [Fri, 10 May 2024 18:44:23 +0000 (11:44 -0700)]
cleanup

71 min agoconverted printf() to syslog() to ease integration
Art Cancro [Fri, 10 May 2024 18:36:28 +0000 (11:36 -0700)]
converted printf() to syslog() to ease integration

93 min agomore cleanup
Art Cancro [Fri, 10 May 2024 18:14:14 +0000 (11:14 -0700)]
more cleanup

118 min agouse StrBufPlain
Art Cancro [Fri, 10 May 2024 17:49:52 +0000 (10:49 -0700)]
use StrBufPlain

3 hours agoPut the dkim header before all other headers, in case there's another one later on
Art Cancro [Fri, 10 May 2024 15:57:21 +0000 (08:57 -0700)]
Put the dkim header before all other headers, in case there's another one later on

3 hours agoCleanup and optimization
Art Cancro [Fri, 10 May 2024 15:50:31 +0000 (08:50 -0700)]
Cleanup and optimization

4 hours agoCleanup and optimization
Art Cancro [Fri, 10 May 2024 15:37:28 +0000 (08:37 -0700)]
Cleanup and optimization

4 hours agoCleanup and optimization
Art Cancro [Fri, 10 May 2024 15:33:46 +0000 (08:33 -0700)]
Cleanup and optimization

4 hours agoNOW we optimize.
Art Cancro [Fri, 10 May 2024 15:26:38 +0000 (08:26 -0700)]
NOW we optimize.

4 hours agoLittle incremental tweaks now that it's working.
Art Cancro [Fri, 10 May 2024 14:59:32 +0000 (07:59 -0700)]
Little incremental tweaks now that it's working.

5 hours agoDammit, the test program was flawed. It DOES work now.
Art Cancro [Fri, 10 May 2024 14:44:42 +0000 (07:44 -0700)]
Dammit, the test program was flawed.  It DOES work now.

15 hours agoDon't hash the headers; the EVP_DigestSign* functions do both the hashing and signatu...
Art Cancro [Fri, 10 May 2024 04:24:46 +0000 (21:24 -0700)]
Don't hash the headers; the EVP_DigestSign* functions do both the hashing and signature for us.

21 hours agoChanged the message body to the example from RFC6376 so our body hash matches
Art Cancro [Thu, 9 May 2024 22:11:35 +0000 (15:11 -0700)]
Changed the message body to the example from RFC6376 so our body hash matches

29 hours agocurse you perry the platypus
Art Cancro [Thu, 9 May 2024 14:43:32 +0000 (07:43 -0700)]
curse you perry the platypus

2 days agoAdded a test program to verify the signature
Art Cancro [Wed, 8 May 2024 19:01:22 +0000 (12:01 -0700)]
Added a test program to verify the signature

2 days agoI think this is ready to be brought into the main program.
Art Cancro [Wed, 8 May 2024 16:28:39 +0000 (09:28 -0700)]
I think this is ready to be brought into the main program.

2 days agoRemove scaffolding
Art Cancro [Wed, 8 May 2024 16:24:52 +0000 (09:24 -0700)]
Remove scaffolding

2 days agoThat's about all for the signature.
Art Cancro [Wed, 8 May 2024 16:17:10 +0000 (09:17 -0700)]
That's about all for the signature.

2 days agoThis might be it.
Art Cancro [Tue, 7 May 2024 21:05:51 +0000 (14:05 -0700)]
This might be it.

3 days agoMake a new header list containing only the headers actually present in the canonicali...
Art Cancro [Tue, 7 May 2024 17:20:32 +0000 (10:20 -0700)]
Make a new header list containing only the headers actually present in the canonicalized header block.

4 days agoFinal step in header canonicalization - remove header fields not being hashed
Art Cancro [Mon, 6 May 2024 18:58:47 +0000 (11:58 -0700)]
Final step in header canonicalization - remove header fields not being hashed

4 days agoHeader canonicalization is all StrBuf now
Art Cancro [Mon, 6 May 2024 18:06:55 +0000 (11:06 -0700)]
Header canonicalization is all StrBuf now

5 days agocleaned up what's left of Tim's code for keeping
Art Cancro [Sun, 5 May 2024 02:27:00 +0000 (19:27 -0700)]
cleaned up what's left of Tim's code for keeping

5 days agofoooooooooooooooooooo
Art Cancro [Sun, 5 May 2024 02:10:42 +0000 (19:10 -0700)]
foooooooooooooooooooo

5 days agounfold the headers in its own function
Art Cancro [Sun, 5 May 2024 02:03:34 +0000 (19:03 -0700)]
unfold the headers in its own function

5 days agooops, i clipped the final crlf from the headers, don't do that
Art Cancro [Sun, 5 May 2024 01:29:25 +0000 (18:29 -0700)]
oops, i clipped the final crlf from the headers, don't do that

5 days agonuke palestine
Art Cancro [Sun, 5 May 2024 01:10:31 +0000 (18:10 -0700)]
nuke palestine

5 days agoSaving this before wrecking it again
Art Cancro [Sat, 4 May 2024 22:00:08 +0000 (15:00 -0700)]
Saving this before wrecking it again

7 days agoAdded new code to canonicalize headers
Art Cancro [Fri, 3 May 2024 04:15:45 +0000 (21:15 -0700)]
Added new code to canonicalize headers

7 days agoUnfold the headers ... MY way
Art Cancro [Fri, 3 May 2024 04:01:21 +0000 (21:01 -0700)]
Unfold the headers ... MY way

9 days agoBegan conversion to StrBuf
Art Cancro [Wed, 1 May 2024 18:28:21 +0000 (11:28 -0700)]
Began conversion to StrBuf

10 days agoPrefixed some of the helper functions with dkim_ to avoid future namespace collisions...
Art Cancro [Tue, 30 Apr 2024 15:31:18 +0000 (11:31 -0400)]
Prefixed some of the helper functions with dkim_ to avoid future namespace collisions, since C doesn't have private methods

10 days agoCombined some identical conditionals into a single one
Art Cancro [Tue, 30 Apr 2024 15:15:19 +0000 (11:15 -0400)]
Combined some identical conditionals into a single one

10 days agoreattribute
Art Cancro [Tue, 30 Apr 2024 13:25:49 +0000 (09:25 -0400)]
reattribute

10 days agofree memory
Art Cancro [Tue, 30 Apr 2024 03:15:59 +0000 (20:15 -0700)]
free memory

10 days agoStyle cleanup
Art Cancro [Tue, 30 Apr 2024 03:03:11 +0000 (20:03 -0700)]
Style cleanup

10 days agoGenerate signature using non-deprecated API calls.
Art Cancro [Tue, 30 Apr 2024 02:36:52 +0000 (19:36 -0700)]
Generate signature using non-deprecated API calls.

10 days agoYikes. Moved to the new API's but it's incomplete.
Art Cancro [Mon, 29 Apr 2024 22:05:36 +0000 (18:05 -0400)]
Yikes.  Moved to the new API's but it's incomplete.

11 days agoFinal refactor before we update the new api
Art Cancro [Mon, 29 Apr 2024 15:29:33 +0000 (11:29 -0400)]
Final refactor before we update the new api

11 days agonext steps
Art Cancro [Mon, 29 Apr 2024 14:25:06 +0000 (07:25 -0700)]
next steps

13 days agoTimothy E. Johansson is the original author
Art Cancro [Fri, 26 Apr 2024 23:28:02 +0000 (16:28 -0700)]
Timothy E. Johansson is the original author

13 days agodiags to stderr
Art Cancro [Fri, 26 Apr 2024 23:26:13 +0000 (16:26 -0700)]
diags to stderr

13 days agoRefactoring the code to flow in a single direction
Art Cancro [Fri, 26 Apr 2024 23:22:23 +0000 (16:22 -0700)]
Refactoring the code to flow in a single direction

13 days agoMoved some of the string utility functions up to the top.
Art Cancro [Fri, 26 Apr 2024 23:00:00 +0000 (16:00 -0700)]
Moved some of the string utility functions up to the top.

2 weeks agomore mindless syntax cleanup to pass the time
Art Cancro [Fri, 26 Apr 2024 18:59:00 +0000 (14:59 -0400)]
more mindless syntax cleanup to pass the time

2 weeks ago80 columns is so 20 century.
Art Cancro [Fri, 26 Apr 2024 17:26:51 +0000 (13:26 -0400)]
80 columns is so 20 century.

Unfolded lines that fit in 132 columns.
Also removed the use of the cuddled else.

2 weeks agoCombined everything into one file
Art Cancro [Fri, 26 Apr 2024 17:20:39 +0000 (10:20 -0700)]
Combined everything into one file

2 weeks agoInitial commit
Art Cancro [Fri, 26 Apr 2024 03:47:05 +0000 (20:47 -0700)]
Initial commit