Skip to content

Conversation

@MinalSoni
Copy link

@MinalSoni MinalSoni commented Apr 10, 2017

For multiple certificates which are saved on cloud, instead of creating TempFile we have binary data of certificate that is not Pathname.To add binary data as certificate support in signer.

@pironim
Copy link

pironim commented Dec 15, 2021

if you don't want to wait for merge
add this code to your initializer

require 'passbook'

module Passbook
  class Signer
    class File
      def self.read(filename)
        filename
      end
    end
  end
end


Passbook.configure do |passbook|
  passbook.wwdc_cert       = ENV['PASSBOOK_INSURANCE_CARD_WWDC_CERT']
  ....
end

but after that you can't use files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants