مراية لـ
https://github.com/postalserver/postal.git
تم المزامنة 2026-01-18 13:59:47 +00:00
feat: add sha256 signatures to outgoing http requests (#2874)
هذا الالتزام موجود في:
12
spec/lib/postal_spec.rb
Normal file
12
spec/lib/postal_spec.rb
Normal file
@@ -0,0 +1,12 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "rails_helper"
|
||||
|
||||
RSpec.describe Postal do
|
||||
describe "#signer" do
|
||||
it "returns a signer with the installation's signing key" do
|
||||
expect(Postal.signer).to be_a(Signer)
|
||||
expect(Postal.signer.private_key.to_pem).to eq OpenSSL::PKey::RSA.new(File.read(Postal::Config.postal.signing_key_path)).to_pem
|
||||
end
|
||||
end
|
||||
end
|
||||
المرجع في مشكلة جديدة
حظر مستخدم