dkimverify 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/dkimverify.gemspec +1 -1
- data/dkimverify.rb +4 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d086756170bfe2816422ceb45c6020e3864aa2db
|
4
|
+
data.tar.gz: ac4f7affbea277b521c6e3aa755e9f9d33710b03
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e494e4377484bd46f8fc87f0d88c6e12722aaeba08796344735a702f808c87ee33f9be4aaf19c1d6efd8da7b48827cfef62faa6f108275fc8801e8b3cf73e7b8
|
7
|
+
data.tar.gz: 5e1894842f9ec7965f4c9ac919a39f7df848e85ce6a1bc828efa04cac5a887d052bced1450b45424ff8614186ac059befd75a7b0d327234fc67755cc4f6133f5
|
data/dkimverify.gemspec
CHANGED
data/dkimverify.rb
CHANGED
@@ -7,8 +7,10 @@ require 'resolv'
|
|
7
7
|
$debuglog = nil #STDERR # nil # alternatively, set this to `STDERR` to log to stdout.
|
8
8
|
|
9
9
|
module DkimVerify
|
10
|
+
class DkimVerifyError < StandardError; end
|
11
|
+
|
10
12
|
module Mail
|
11
|
-
class MessageFormatError <
|
13
|
+
class MessageFormatError < DkimVerifyError; end
|
12
14
|
|
13
15
|
class HeaderHash < Hash
|
14
16
|
def get(header_name)
|
@@ -87,7 +89,7 @@ module DkimVerify
|
|
87
89
|
HASHID_SHA1 = OpenSSL::ASN1::ObjectId.new('sha1')
|
88
90
|
HASHID_SHA256 = OpenSSL::ASN1::ObjectId.new('sha256')
|
89
91
|
|
90
|
-
class DkimError <
|
92
|
+
class DkimError < DkimVerifyError; end
|
91
93
|
class DkimTempFail < DkimError; end
|
92
94
|
class DkimPermFail < DkimError; end
|
93
95
|
class InvalidDkimSignature < DkimPermFail; end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dkimverify
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jeremy B. Merrill
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-05-
|
11
|
+
date: 2017-05-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: parslet
|