Comments (13)
@alloy can confirm that this is fixed on master, but it doesn't look like it's been released. Fetching from rubygems.org still has the bug.
from lowdown.
That probably means that the topics field of the certificate may contain other values than I expected.
Care to make a PR for the format that your certificate holds?
from lowdown.
May I send my certificate by email?
from lowdown.
I find the others certifications topic is "$ + bundle_id"
from lowdown.
You don’t need to send me your certificate, you can check the value yourself like so:
$ irb -r openssl
irb(main):001:0> cert = OpenSSL::X509::Certificate.new(File.read('/path/to/certificate.pem')); nil
=> nil
irb(main):002:0> cert.extensions.find { |ext| ext.oid == '1.2.840.113635.100.6.3.6' }.value
=> "0d..net.artsy.artsy0...app..net.artsy.artsy.voip0...voip..net.artsy.artsy.complication0...complication"
from lowdown.
I got
"0...!com.kdanmobile.ipad.pdfreaderlite0...app.&com.kdanmobile.ipad.pdfreaderlite.voip0...voip..com.kdanmobile.ipad.pdfreaderlite.complication0...complication"
and lowdown default_topic
@default_topic="!com.kdanmobile.ipad.pdfreaderlite"
from lowdown.
Interesting, well it’s definitely clear where those !
and &
characters are coming in from. I’m still not sure what they signify and feel like I might be overlooking a proper parser for the format of this value
But for now it should be easy enough for you to make a PR that adds entries formatted like yours to the tests and then make the parsing work for both cases.
from lowdown.
I thought it is not easy to me, but I will give it a try. :(
from lowdown.
Hi @alloy,
I find this situation occurs in other certificates, too.
If this parser is only want to grep the bundle id, why not just parse the subject? :(
I've tried to reproduce certifications and using other language to parse it but get the same result.
from lowdown.
@rayway30419 The reason that it’s not just the bundle ID is that a universal certificate may be used for more than 1 purpose. I pushed a fix that should be the right fix, let me know if it works for you.
from lowdown.
Hi @alloy
The fix by ASN1 looks well.
I thought you can commit this modification into rubygems. :)
thx
from lowdown.
Has this fix been released? We are experiencing this error (only in one of our apps).
from lowdown.
Hey, just got back from holiday.
My bad, I’ll put out a release this week. Thanks for reminding me.
from lowdown.
Related Issues (20)
- PEM cert with passphrase HOT 2
- Battle Testing HOT 22
- Sending message inside a DJ worker HOT 6
- actor broken for IO is already registered with selector (on sidekiq job) HOT 12
- ERROR: Actor crashed! EOFError: end of file reached /Users/danolee/.rvm/rubi HOT 21
- stuck in thread with sidekiq HOT 11
- Apple Certificate HOT 17
- Apple feedback service HOT 1
- Actor crashed EOFError: end of file reached HOT 2
- 400 (Bad request): BadDeviceToken HOT 7
- We are getting "Actor crashed! - ArgumentError: this IO is already registered with selector" exception when using a persistent connection HOT 1
- V2
- Android? HOT 1
- Include mutable-content in aps hash HOT 1
- Creating a persistent connection freezes the process HOT 3
- Put the worker thread to sleep if there is nothing to do. HOT 1
- Thread safe with sidekiq? HOT 3
- Long running singleton usage HOT 12
- [very low priority] doesn't work with spring and Rails 4.2.5 HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lowdown.