dkim:具有Rails集成的纯Ruby DKIM签名库

时间:2021-05-17 15:17:21
【文件属性】:
文件名称:dkim:具有Rails集成的纯Ruby DKIM签名库
文件大小:23KB
文件格式:ZIP
更新时间:2021-05-17 15:17:21
Ruby Dkim Ruby中的DKIM签名库。 安装 sudo gem install dkim 必要的配置 为了签名消息,需要指定私钥,域和选择器。 这些可以全局指定 Dkim::domain = 'example.com' Dkim::selector = 'mail' Dkim::private_key = open('private.pem').read 每个消息都可以覆盖选项。 Dkim.sign(mail, :selector => 'mail2', :private_key => OpenSSL::PKey::RSA.new(open('private2.pem').read)) 有关更多详细信息,请参见{Dkim :: Options} Rails的用法 Dkim包含Dkim::Interceptor ,可用于对所有mail传递的进行签名,actionm
【文件预览】:
dkim-master
----dkim.gemspec(895B)
----bin()
--------dkimsign.rb(452B)
----Rakefile(464B)
----.github()
--------workflows()
----test()
--------dkim()
--------test_helper.rb(2KB)
----gemfiles()
--------mail_2.6.gemfile(159B)
--------mail_2.7.gemfile(159B)
----Appraisals(99B)
----Gemfile(136B)
----.gitignore(49B)
----CHANGELOG.md(906B)
----lib()
--------dkim()
--------dkim.rb(935B)
--------mail()
----README.md(4KB)

网友评论