Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with Updating dotnet-passbook to latest version #190

Open
cgill1607 opened this issue Feb 12, 2024 · 1 comment
Open

Problem with Updating dotnet-passbook to latest version #190

cgill1607 opened this issue Feb 12, 2024 · 1 comment

Comments

@cgill1607
Copy link

Hello,

I'm working with dotnet passbook Version 2.0.6.
It works like a charme :-) !

Now i want to update the nuget package of passbook to the latest version. 3.2.4

After the Update in the PassGeneratorRequest class i have missing Properties
request.Certificate
request.CertificatePassword
and
request.AppleWWDRCACertificate needs an X509Certificate2 instead of a byte[]

It seems that you have shifted from the direct binary data stored in the .PFX and .cer files to some internal certificate structure.

for the 2.0.6 i've read the binary data created from windows PC, transfered the content of the PFX and .CER files to my PostgreSql server database and use the binary data retrieved from the database to feed request.certificate and AppleWWDRCACertificate in my ubuntu linux server environment which creates passes.

Now my question. What ist the best way to get an x509certificate instance witrh the binary data from my database?

With kind regards

Dr. Christian Gill

@tomasmcguinness
Copy link
Owner

Hi,

You can use the same binary to create your own instance of an X509Certificate and provide passwords as necessary.

Under the covers, that is what my library was doing anyway.

I hope that helps.

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

No branches or pull requests

2 participants