Comments (9)
Hi! Thank you for using this package. When I developed it, I only tested it on the certificates I had available. But, as far as I know, there can be quite a lot of options for describing the certificate subject. I take it to work. Thanks!
from x509-bundle.
I think I fixed it. Can you check this?
from x509-bundle.
INN
still is null. May be because leading zeros may be added for fill 12 chars.
But some inn
may correctly start from zero. Example: 0103008227
May be better read OIDS instead guess key name by content.
https://2410000.ru/p_45_obektnyj_identifikator_oid.html
https://www.nalog.ru/html/docs/proj_treb121112.doc page 4
Also SNILS
still is null. May be because leading zeros may be added.
from x509-bundle.
In rnix/php-fpm-gost
docker image INN
, OGRN
and SNILS
presented in raw openssl_x509_parse()
.
from x509-bundle.
In
rnix/php-fpm-gost
docker imageINN
,OGRN
andSNILS
parsed out of the box.
I think it depends on the OpenSSL version. I'm testing on OpenSSL versions 1.1 and 1.0, and everything works
from x509-bundle.
I update comment #1 (comment) to clear up the ambiguity.
from x509-bundle.
I tried the package work with my certificates (old and new) in rnix/php-fpm-ghost, the values of INN, OGRN and SNILS are returned correctly. You do not return INN AND SNILS for all certificates?
from x509-bundle.
INN
still is null. May be because leading zeros may be added for fill 12 chars.
But someinn
may correctly start from zero. Example: 0103008227
I changed package avkluchko/government-bundle for working with short INN. To try this you need to update composer dependencies.
from x509-bundle.
I found and fixed an incorrect calculation of the SNILS checksum in another my package. In addition, I checked this package with openssl 1.0.2, the information received is correct for my certificates. If you still don't work correctly, let's look specifically at your certificates?
from x509-bundle.
Related Issues (1)
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 x509-bundle.