mosip / print Goto Github PK
View Code? Open in Web Editor NEWreference project to use mosip credential service and print a digital card
License: Mozilla Public License 2.0
reference project to use mosip credential service and print a digital card
License: Mozilla Public License 2.0
The @PreAuthenticateContentAndVerifyIntent
secret parameter cannot contain spaces in its value. For example, using a value of test password
will transmit a value in the http with an invisible character but is not a space, but is instead 0x2b
in wireshark trace. Fyi.
This bug is detected in branch 1.1.2
. I also scan the code, it is also in branch 1.1.3
.
Mismatch image type header from actual image type content
To Reproduce
It can only be reproduced when integrating a third-party component. I believe the offending line is in the following:
1.1.3
it is in line 572
of PrintServiceImpl.java
.1.1.2
it is line 551
of PrintServiceImpl.java
.The image type is hardcoded as data:image/png;base64
. The problem only manifests when integrating a third-party component which tries to convert the base64 encoded image content to other format. If the image content is of type jpeg2000
format, then the header should describe it as such.
Expected behavior
The header should describe the image type in order for third-party component to properly handle the image content
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
Attach logs
The code line# is already provided with regards to root cause.
Additional context
The image type is needed in this particular line of the third-party component: https://github.com/newlogic/mosip-print/blob/idpass-integration4/src/main/java/org/idpass/lite/IDPassReaderComponent.java#L71
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.