Comments (12)
Hi @Shravya89. What version of the eid-applet-service are you using on your back-end? The photo digest is checked on the server and not in the eid-applet itself.
from eid-applet.
We are using eid-applet-service-1.0.4.GA.
from eid-applet.
Then that will be the problem. The support for SHA2 hashes was introduced in version 1.1.0.RC3.
I suggest you upgrade your backend to version 2.0.0.FEDICT as well if possible. This version has some breaking changes so it might not be possible to do so. In that case use version 1.1.4.
Both artifacts are available in the eID maven repository at https://maven.eid.belgium.be/.
from eid-applet.
We got the certificate revocation error so we upgraded backend to verison 2.0.0.FEDICT.
So we are using 2.0.0.FEDICT.
DO we upgrade eid-applet-service-1.0.4.GA?
from eid-applet.
That is correct. Use version 2.0.0.FEDICT there as well.
from eid-applet.
Ok
So we should use eid-applet-service-2.0.0.FEDICT.jar and eid-applet-package-2.0.0.FEDICT.jar right?
from eid-applet.
Yes, you can see eid-applet-package as the client part and eid-applet-service as the server part of eid-applet. You have to use the same version of both: they use a specific protocol to communicate.
from eid-applet.
Thanks.. :)
I replaced the jars with 2.0.0, but on our server we have java version "1.5.0_22" and it is throwing bad version in .class file,
This issue is because the latest EID jar has been compiled with other version of java i guess.
Can we get the jars compiled with lower version of java.
from eid-applet.
I tried running my application using the version 1.1.4.
Got the below error -
eID Applet - Copyright (C) 2008-2013 FedICT.
Copyright (C) 2014-2015 e-Contract.be BVBA.
Released under GNU LGPL version 3.0 license.
More info: https://github.com/Fedict/eid-applet
checking applet privileges...
security manager permission check for java 1.6...
checking web application trust...
running privileged code...
OS is [Windows 7]. Not Enabling PCSC library fix.
eID browser applet version: 2.0.0.FEDICT
Java version: 1.8.0_51
Java vendor: Oracle Corporation
OS: Windows 7
OS version: 6.1
OS arch: x86
Web application URL: https://epnyweb1int2.kpno.be/epiphany/app/service.ctrl?JSP_REQUEST=true&FILE=nonmodalpopup.jsp
Current time: Wed Dec 28 15:27:29 CET 2016
session cookie detected
sending message: HelloMessage
current protocol state: null
protocol state transition: INIT
SSL handshake finish cipher suite: TLS_RSA_WITH_AES_128_CBC_SHA
response message: IdentificationRequestMessage
current protocol state: INIT
protocol state transition: IDENTIFY
include address: true
include photo: true
include integrity data: false
include certificates: true
remove card: true
identity data usage: null
Detecting eID card...
Please insert your eID card...
Scanning card terminal: VASCO DP905v1.1 0
eID card detected in card terminal : VASCO DP905v1.1 0
Reading out identity...
Reading identity file...
selecting file
read binary
Size identity file: 185
Read address file...
selecting file
read binary
Size address file: 121
Read photo file...
selecting file
read binary
reading authn certificate file...
selecting file
read binary
size authn cert file: 1900
reading sign certificate file...
selecting file
read binary
size non-repud cert file: 1900
reading citizen CA certificate file...
selecting file
read binary
size Cit CA cert file: 1558
reading root certificate file...
selecting file
read binary
size Root CA cert file: 1426
Please remove your eID card.
Transmitting identity data...
sending message: IdentityDataMessage
current protocol state: IDENTIFY
SSL handshake finish cipher suite: TLS_RSA_WITH_AES_128_CBC_SHA
HTTP response code: 500
Error 500--Internal Server Error |
java.lang.NoSuchMethodError: java.lang.String.isEmpty()Z at be.fedict.eid.applet.service.SpecialOrganisation.toSpecialOrganisation(SpecialOrganisation.java:69) at be.fedict.eid.applet.service.impl.tlv.SpecialOrganisationConvertor.convert(SpecialOrganisationConvertor.java:52) at be.fedict.eid.applet.service.impl.tlv.SpecialOrganisationConvertor.convert(SpecialOrganisationConvertor.java:34) at be.fedict.eid.applet.service.impl.tlv.TlvParser.parseThrowing(TlvParser.java:117) at be.fedict.eid.applet.service.impl.tlv.TlvParser.parse(TlvParser.java:56) at be.fedict.eid.applet.service.impl.handler.IdentityDataMessageHandler.handleMessage(IdentityDataMessageHandler.java:129) at be.fedict.eid.applet.service.impl.handler.IdentityDataMessageHandler.handleMessage(IdentityDataMessageHandler.java:72) at be.fedict.eid.applet.service.AppletServiceServlet.doPost(AppletServiceServlet.java:311) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3395) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(Unknown Source) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2140) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2046) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200) at weblogic.work.ExecuteThread.run(ExecuteThread.java:172) |
from eid-applet.
The isEmpty() method was added to java.lang.String in Java 6, which means it is not available in your JRE.
Is it possible for you to upgrade to a more recent Java version? (Java 5 is no longer supported by Oracle as well.)
from eid-applet.
No It is not possible. We have connectivity with others systems as well so it will be difficult to upgrade
Can we just get a fix for the photo digest error in the current jar that we are using.
from eid-applet.
I have discussed this internally and we no longer support Java 5. Our code base was switched to Java 6 some years ago.
Since the source code is open, feel free to create your own build of eid-applet-service with a Java 5 compiler. It is best to start from the tag 2.0.0.FEDICT and make the necessary changes from there.
from eid-applet.
Related Issues (20)
- Compilation on java 1.7 HOT 1
- java.io.IOException HOT 2
- empty "Request Authentication" popup before signing document HOT 1
- Improvement: Skip technical confirm box HOT 1
- How to supply an in memory document for signing to the applet HOT 1
- Card error after upgrading to eid applet 1.0.5 HOT 2
- Card using SHA256withRSA: failure to validate signed identity HOT 1
- PIN cache not working for SignRequest HOT 3
- Building applet fails with JDK 1.7u45 HOT 1
- Security warning message : The certificate used to identify this application is expire HOT 1
- Support intranet domainnames HOT 2
- https checks on localhost HOT 1
- Nationality not available
- Applet not working on Jboss + apache HOT 1
- Yomani and Xenta terminals are not detected when connected to desktop for reading EID card details.
- compute digital signature error
- Error using the new Belfius cardreader HOT 2
- eid-applet-package-1.1.3.jar returning error
- IO Exception in applet.class along with Generic Error ,Not able to find root cause and also why its calling applet.class while hitting the applet-service
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 eid-applet.