Install:Install/MakeSelectable on Cyberflex Access 32K e-gate

Hi at the JavaCard forum,
I used to load applets with my OCF loader to Cyberflex Access Developer 32K cards. Now, that these cards aren't sold anymore, I want to upgrade my loader to handle regular Access cards with CodeShield enabled. I managed it to build, transform and load those special CAPs successfully. BUT, the following Install:Install or Install:Install/MakeSelectable command keeps failing with 6A 80.
I do not use any DAP for loading, everything is in clear.
Install:Load
->80 E6 02 00 10 05 A0 00 00 00 01 00 00 06 EF 04 C6 02 28 F9 00
<-90 00
Load
->80 E8 00 00 FF C4 82 28 F9 01 00 0F DE CA FF ED ...
<-90 00
Install:Install/MakeSelectable
->80 E6 0C 00 1C 05 A0 00 00 00 01 06 A0 00 00 00 01 01 00 01 02 0A EF 08 C8 02 48 00 C9 02 00 00 00
<-6A 80
Is there anything suspicious in this command? It works with the Developer card, but that has not much to say in respect to the regular Access cards, I guess.
I also tried to include the load file's application ID again as instance AID but same result: 6A 80
Does somebody know, what's wrong here?
Thanks in advance
Martin

Hi Jo,
It strips out the cap component
header information and changes some of the data. The
CodeShield cards then read that data then discard it....
I did a diff on a transformed load file and found the Method and RefLocation components are also altered, which is reflected by changes in Applet, Class and Directory components, but that's just a guess. Header, Import and StaticField aren't changed at all. Somehow, the optional Descriptor component is also appended by makeIJC, maybe CodeShield needs it, but yes, this data is supposed to be discarded afterwards.
The .JAR file is the original Sun generated .CAP file
so you may use OTHER vendors cards.
One has just to skip the transform step to load other OP cards, basically.
CodeShield isn't friendly because it forces you to use
the Axalto kit in order to use their cards. Get the
kit or switch to more user friendly cards that don't
have on-card byte-code verifiers. JCOP family
cards,G&D, and Datakey.Yeah, you sound like me in http://lists.musclecard.com/pipermail/muscle/2003-May/000825.html. I somehow grew up with the Cyberflex cards and the early CITI tools. I just reanimated old Cyberflex 16K to support PKCS#15 aka OpenSC, my favourite PKCS#15 framework. And Schlumberger/Axalto isn't that bad, they are pioneers of JavaCard technology, sell also in small quantities and have public docs available. That's a fairly 'open' approach compared to their competitors. I still think its the only card where you just buy 5 cards and do all the rest by yourself.
>
Axalto does provide CodeShield disabled cards to its
strategic business partners. For a time they sold the so called Cyberflex Access Developer 32K card to the public, but it's somehow no more available. That was the reason for updating my loader to support the regular Access cards.
>
I don't believe in the on-card byte code verifier
because I believe all I have to do is a WinDiff on the
jar and the cap, and copy those differences to any cap
file to get it to load without running it thru the
makeIJC. I don't have the time to attempt it. I'd much
rather use more interoperable cards then waste my time
hacking Axalto to work. There are rumours, that C will soon fade away, like RSA 1024 (hehe), because it enforces you to write security holes in every second line of code. One asset of the Java language is its byte-code verification mechanism to detect malicious code that might compromise the VM in any way, and that's an asset for Axalto too. It was fairly easy to get the captransformer from Trusted Logic; since it's just another Jar, one could even incorporate it into the loader. But I am not a lawyer, and prefer to keep my code separate ;)
Actually with the help of a compassionate guy, who sent me a log output of the $DK, I could drill my install problem down to a simple Cyberflex Programmer's documentation ambiguity on p. 99:
The 'Load Parameters Data Block' for the Install:Install/MakeSelectable command is documented as
0A EF 08 C8 02 48 00 C9 02 00 00
______^^
which imposes on me that 08 is the length of the whole Cx tag buffer, BUT it's not, it's only the size of the C8 tag, bummer. With a size of 04 it works, and it does also if you revert the tags like:
0A C9 02 00 00 EF 04 C8 02 48 00
The error description for 6A 80 was completely misleading too...
I'll update the loader accordingly and it will be available in a few days at
http://home.vr-web.de/~martin.buechler/smartcard/CFlexAccess32Loader.zip
Just in case it happens, that a Cyberflex cards hits you :)
BTW, another thing. Didn't you mention in another post to this forum the need for an OS PKCS#15-CardEdge applet project? Something new about it? I'd like to have something like that; the MUSCLE applet might serve as crypto library and one could write against Chaskiel Grundmann's JCOP driver for OpenSC.
Cheers

Similar Messages

  • Adobe Flash Player, version 10.1.102.64 installed, but I cannot access FP dependent applications

    Adobe Flash Player, version 10.1.102.64 is installed, but I cannot access FP dependent applications (such as those on Facebook.)
    I used the link you previously  provided  http://www.adobe.com/products/flashplayer/fp_distribution3.html
    to  download the FP .exe and it worked for 2 days, but is no longer working and I'm getting the same message for both  Mozilla & IE. The only things I recall doing prior to FP not working again was 1) sign up for G Mail & 2) I used Save As to dwld a number of Images from Google.  I also rolled back my PC a day, but that has not fixed the issue.  I get the error both in IE & Mozilla.
    I've reviewed HK Local Machine/Software/Adobe, but there is no file folder for Flash Player under HK  HKEY_LOCAL_MACHINE/Software/Adobe {though there are folders for Shockwave, etc.)  Does anyone know the KEYS for Flash  Player, that I could add manually?
    System Information:
    Win XP Home, SP 2
    IE 8.0.6001.18702
    Mozilla 3.6.12
    Flash Player 10.1.102.64
    Thanks for any & all help!
    Sidney

    Can you see the Flash animation at http://www.adobe.com/software/flash/about/ ?
    Does it show some version information under it?
    Is Shockwave Flash object enabled in IE and FF?
    What files do you have in C:\Windows\system32\Macromed\Flash?
    Do you know that XP SP2 is no longer a supported OS?

  • Got help fixing my youtube problem, now that is working.  In the process of making the fix, lost my aol set up. Re installed it, but cannot access the icon. How do i get my AOL back?

    Got help fixing my youtube problem, now that is working.  In the process of making the fix, lost my aol set up. Re installed it, but cannot access the icon. How do i get my AOL back?

    If it's an application, it should be in the Applications folder. If in doubt, double click on the hardrive icon to open it up, then press Command+F (find) and in the window that comes up for what you want to find, type in AOL and it should appear. You can either drag it to the Dock for easy access or make an alias of that, and drag that alias to the Dock. Oh, and just so's you know, this forum is for Desktop macs only. We may be able to answer your question about a MacBook Pro. Same kind of animal, but different breeds.
    good luck
    John b

  • I have a powerbook G4 running OS X 10.5.8.   I had a new hard drive installed and now cannot access my itunes.  I do I get my itunes that I paid for??

    I have a powerbook G4 running OS X 10.5.8.   I had a new hard drive installed and now cannot access my itunes.  I do I get my itunes that I purchased?

    Hi,
    Read this. http://support.apple.com/kb/HT2519
    Jim

  • How to install certs for web access

    Hi all: While I have done this several times using ConsoleOne in previous versions of GW, I cannot seem to find a good write-up on installing certificates for Web Access in GW 2014. I came across this TID (https://www.novell.com/support/kb/doc.php?id=7010584) but I am not sure this applies to Web Access. Can anyone point me to a How-To or TID which describes installing certs specifically for Web Access (2014)? We are running GW 2014.0.1 on an OES11 SP2 server.
    Thanks, Chris.

    Hi Chris,
    The TID you referenced in your first post also applies to WebAccess.
    When running GroupWise/WebAccess on OES/SLES/Linux, it's not really about doing something for GroupWise WebAccess, but about doing something for Apache. So you can approach this as a generic Apache thing.
    Originally Posted by cmosentine
    PS: Our certs are from GoDaddy. We have two files, ourdomain.crt and sf_bundle.crt. If I follow the TID I referenced, I am not sure where these should be placed in the configuration file.
    If you have those files you can add them to the apache2 configuration as the TID mentions.
    You are missing one file in your listing.... the key file. Without the key file, it won't work.
    If you have those three files on the webaccess server, simply add lines to the vhost file;
    SSLCertificateFile </path/to/ourdomain.crt)>
    SSLCertificateKeyFile </path/to/ourdomain.key)>
    SSLCertificateChainFile <path/to/sf_bundle.crt>
    Then reload Apache.
    Also make sure root is the only user that can read those files (mainly important to shield the key file used).
    If there are no errors upon reloading Apache, the new certificates should then be in use.
    In general, this blog post might give some more insight on the openssl process :https://www.digitalocean.com/communi...-keys-and-csrs
    There are many others that might explain it better.
    Cheers,
    Willem

  • Ipad without pre-installed iTunes App to Access the iTunes Store.

    My Ipad did not came with pre-installed  iTunes App to Access the iTunes Store.  I told my parents and they did not now what to do.  So I waited and when I call you for help the prson on the phone told me that my phone free service had expired. I have many itunes gift card and I am not able to use them or download music form itunes because of a mistake someone make when they built my i pad.  Please help me because it came like this New in box, and this is not my fault or mistake.  Thank you !!

    Click here and follow the instructions.
    (109550)

  • I have lost Boinx in Video Generator, Fotomagico is installed but can't access the plug-in, any ideas?  Have reinstalled FCE to no avail.

    I have lost Boinx in Video Generator plug in Effects, Fotomagico is installed but can't access the plug-in, any ideas?  Have reinstalled FCE to no avail. I don't understand as was working fine then just gone. Any help would be much appreciated.
    Liz

    I think the suggestion by JimHdk is fair simple. Most Internet services providing email offer a way to access email via a browser like Safari instead of using the Mail app. You start Safari, got to the webmail webpage, enter a user name and password and are provided with a list of waiting emails. You can read emails, reply to emails, delete emails and create new emails on those sites. This is a very common way for people who travel a lot and who encounter your problem, to access their emails.
    If you don't know the website for your webmail contact your provider.

  • On-board RSA key generation on Cyberflex Access 64K V2 / Memory leak?

    The description of the Cyberflex Access 64K V2 card states that "On-board key generation RSA up to 2048 bit" (http://www.youcard.de/datenblaetter/chipkarten/DS%20Cyberflex_Access.pdf). So I assume that this implicates that it should somehow be able to instantiate a KeyPair object on which genKeyPair() can be called.
    When I first tried to instantiate an Object either by using KeyBuilder.buildKey or KeyPair I just received an 0x6F00 error. After removing all of the other objects that were also instantiated I was able to create one Key object using KeyBuilder (RSAPrivateKey or RSAPublicKey). However, as soon as I tried to instantiate two Key objects at the same time I just received the 0x6F00 error again.
    I create these objects by using:
    private static RSAPublicKey pubKey;
    private static RSAPrivateCrtKey privKey;
    protected Foo() {
        pubKey = (RSAPublicKey) KeyBuilder.buildKey(KeyBuilder.TYPE_RSA_PUBLIC, KeyBuilder.LENGTH_RSA_1024, true);
        privKey = (RSAPrivateCrtKey) KeyBuilder.buildKey(KeyBuilder.TYPE_RSA_CRT_PRIVATE, KeyBuilder.LENGTH_RSA_1024, true);
        register();
    }So it seems that there is not enough free (EEPROM) memory for both objects. Is this a known problem with the Cyberflex cards? Is there some workaround? Could it be possible that some former test-applets that I've used (and already deleted) on the card leaked some memory that is missing now?

    I think that I've just found the problem. The value of "-nvDataLimit" in the install APDU that I've sent via gpshell was too low. It seems to work with a higher value.

  • Error while installing -  don't have access to directory?

    Ok my problems started about a week ago when I tried to start iTunes up, and about 20 or so messages popped up about Mobile Device not working... I honestly don't remember the exact message because I thought I fixed that problem by uninstalling that program. I don't have an iPhone or iTouch, I have a 3rd generation iPod Nano 8gb. So then my iTunes seemed to be working until this afternoon when I plugged in my iPod to charge and add music. It was like iTunes didn't recognize that I had plugged it in. So I'm thinking, this must be happening because I uninstalled that one program, now seems like a good time to upgrade to 8.0! So the install starts off normally and goes for a while, then I get an error message that says I don't have access to a directory called C:\Program Files\Common Files\Apple\Mobile Device Support\SyncServices\Clients\com.google.ContactSync\Contents\Resources\com.goog le.ContactSync.plist and I just don't have any idea what this is. I went ahead and completely uninstalled the older version of iTunes, restarted my computer, and tried again. Same problem. I've been google searching and finding other people are having similar problems, but people keep saying you have to be the administrator. I am the administrator of this computer, and I'm the only one who uses it. I also tried running the install as the administrator because I saw that suggestion on another forum. I'm at a loss here... I'm running my virus scan, and so far nothing has come up. Any suggestions besides I'm not the administrator...?
    I still had the iTunes setup from the previous version I guess, so I was able to install whatever version that was. But eventually I am going to need to upgrade to 8.0!

    Even being the computer administrator, you may not have FULL access to all directories. Vista may still only provide Read/Write access, which, sometimes, is not enough. So, try giving yourself FULL access to that directory, according to these steps:
    http://www.mydigitallife.info/2007/05/25/how-to-take-ownership-and-grant-permiss ions-in-windows-vista/
    If that doesn't solve it for you, you might want to try creating a new user account on your computer, and then seeing if you can download/install iTunes on that other user account. If successful, you can go back and delete that account, as installation on one account results in installation on all accounts.
    1. Go to Control Panel > User Accounts
    2. Click on "Manage Another Account"
    3. Click on "Create new user"
    4. Follow the prompts to create a new computer administrator
    5. Restart the PC and log in to the new account
    CG

  • Help! Itunes will not install because it cannot access and HKEY

    Error reads as follows:
    Coult not open key:
    HkeyLOCALMACHINES\software\classes\QuicktimePlayerLib.QuicktimePlayerApp\CLSID. Verify that you have sufficient access to that key, or contact your support personnel.
    I ran regedit and found that this Hkey does not exist in the registry.
    I just bought this Nano. Why won't Apple help me with the install. At this point I feel like taking this piece of junk back to the store and buying a piece of hardware that is not dependent on a piece of software that cannot even be installed.

    Try the following steps:
    1. Go to Microsoft website to fix install and Unistall problems. Click "Run now" from Fix it to remove all iTunes & related installer files:
    http://support.microsoft.com/mats/Program_Install_and_Uninstall
    Be aware that Windows Installer CleanUp Utility will not remove the actual program from your computer. However, it will remove the installation files so that you can start the installation, upgrade, or uninstall over.
    2. You should remove all instances of iTunes and the rest of the components listed below:
    it may be necessary to remove all traces of iTunes, QuickTime, and related software components from your computer before reinstalling iTunes.
    Use the Control Panel to uninstall iTunes and related software components in the following order:
    iTunes
    QuickTime
    Apple Software Update
    Apple Mobile Device Support
    Bonjour
    Apple Application Support (iTunes 9 or later)
    Follow the instructions from Apple article listed here: http://support.apple.com/kb/HT1923 to remove all components
    3. Reboot your computer. Next, download iTunes from here:http://www.apple.com/itunes/download/ and install from scratch

  • ITunes unable to install? - Could not access network location %APPDATA%/.

    Okay, I received a never used iPod Nano
    (Model MC034LL ,Version 1.0. 2 PC, it looks like this http://www.iphonemag.ch/wp-content/uploa…
    for Christmas this year, however; I'm having some trouble installing iTunes.
    I have already downloaded iTunes, but installing seems to be the problem.
    The 'iTunesSetup' icon appears on my desktop and I double-clicked it to begin the installing process.
    When I do so, it says
    "Gathering required information... Status: Computing Space Requirements"
    after a few seconds it says, "Could not access network location %APPDATA%/."
    As soon as I click 'retry' it says the same thing.
    If I press cancel, the same message pops up and then it says,
    "iTunes Installer Completed
    The installer encountered errors before iTunes could be configured.
    Your system has not been modified To retry these operations at a later time, please run the installer again.
    Click exit to finish the installer"
    I tried the help page for iTunes, but noting seemed helpful.
    Message was edited by: Seraph6886

    Could not access network location %APPDATA%/
    With that particular variety of 1606 (it's a 1606 error message even though the 1606 error message number isn't returned by the iTunes installer), the following Microsoft document is worth a try:
    [You receive an "Error 1606" error message when you try to install or remove a Microsoft program|http://support.microsoft.com/kb/886549]

  • After installing WLS, oracle cannot access directory

    We have installed WLS many times on RHEL 5.6 and cannot determine why, but on occasionthe oracle user loses the ability to access /opt directory. The directory structure is listed as only question marks.
    [oracle@racparticipant opt]$ ll
    total 36
    ?--------- ? ? ? ? ? IrsamInstall
    drwxr-xr-x 12 root root 4096 Jan 5 13:14 likewise
    drwx------ 2 root root 16384 Jan 5 12:46 lost+found
    ?--------- ? ? ? ? ? oracle
    ?--------- ? ? ? ? ? oraInventory
    ?--------- ? ? ? ? ? sun
    drwxr-xr-x 7 root root 4096 Jan 5 13:12 Symantec
    Once this occurs, the oracle user cannot access this directory or its subdirectories. If I login as root, everything is fine.
    We have not found anything online regarding this or anything useful...
    Ideas?

    Form the "id" output showing "context=user_u:system_r:unconfined_t:SystemHigh" I can see you have SELinux enabled.
    Unfortunately I'm not very familiar with SELinux. The Oracle recommendation is usually to have it disabled, not supported, at least prior to 11gR2. You may have to modify the security context of the /opt directory using the chcon command to allow access (http://wiki.centos.org/HowTos/SELinux). Firewall and SELinux are enabled by default and more changes are most likely required for Weblogic to work.
    What happens if you disable SELinux or set it to permissive and try again? You can disable SELinux by editing /etc/selinux/config and change the SELINUX line to SELINUX=disabled. Then reboot the system and try again. Alternatively you can also use the kernel "enforcing=0" parameter or use "echo 0 >/selinux/enforce" to temporarily disable enforcement, but I guess disabling it in /etc/selinux/config is easier.
    Edited by: Dude on Jan 8, 2012 1:46 AM

  • Install Problem: "Could not access network location %APPDATA%\."

    I get "Could not access network location %APPDATA%\." when trying to install or uninstall itunes. Has anyone seen this. I've tried several of the general troubleshooting topics.

    Similar problem..."Could not access network location ." went through all the microsoft repairs for a 1606 error. No resolve. My itunes used to work perfectly then when I went through an itunes initiated update, then my itunes would bring up the error whenever I tried to update. I uninstalled itunes then tried to reinstall without any success. Still get the error. And now I dont have itunes. Has anyone figured this out yet or do I need to abandon and go to droid?

  • Cannot install any device drivers - access denied

    Hi,
    Anytime I plug a device into my usb port/s and it tries to load the driver it fails.  I've also tried directly installing the driver and I get access denied.  Can anyone help me resolve this please?
    I have windows 7 home laptop, I am the administrator.
    Thanks
    Cas

    Hi,
    Please try to replaces ACLs with default inherited ACLs for all matching files:
    1. Open an elevated command prompt, go to the drive:
    cd /d X: (X represent your problematic drive letter, here I recommend the OS drive)
    2. Type the following command:
    icacls * /T /Q /C /RESET
    You could also refer to the following article:
    Icacls
    Karen Hu
    TechNet Community Support

  • New ipod - "cannot install this hardware" and "access is denied"

    Over the weekend I got a new iPod Video. Previously I had an iPod Photo. This new one plugged in just fine on my two computers at home but will not install to my work computer.
    It will work as I can play and transfer files through iTunes, but everytime I plug it in I get USB errors:
    "Windows cannot install this hardware - access is denied"
    In the Device Manager it gives me a "Code 28"
    Like I said, it does seem to work, I just want to make sure this isn't going to screw anything up when I plug in each day and get these errors.

    iPods use the standard Windows USB mass storage drivers. it is possible for those to go walkabout on a PC. if that is what has happened to you, the techniques from this MarkJones post may be of some assistance:
    MarkJones: Re: Windows XP (SP2) Laptop only finds generic "New USB 2.0 Device"

Maybe you are looking for

  • Error in Generic extraction using function module

    Hi, I have created a generic datasource which will will have the same fields as table tcurr(except client field). whenever i am trying to check it in rsa3..it is giving the error"Error in extracting data". Can you kindly suggest where is the mistake?

  • Duplicates in lightroom

    Topic duplicates in lightroom Leni - 05:54pm Mar 1, 2008 Pacific Just imported photos into lightroom and found many duplicates. is there an easy way to get rid of duplicates? I am looking for an automation method of doing this. Imac 24, 2gigs ram, 75

  • Ipad Micro Sim vs Iphone 4 Micro Sim

    Just noticed this on the UK apple store. They sell Sim Unlocked Phones (like NZ and Australia etc) and under the FAQs they have the following: Are iPhone 4 and iPad micro-SIM cards interchangeable? No. Your iPad micro-SIM card will not work with your

  • How do I get a copy of version 2.2 of Measurement and Automation Explorer?

    I am also interested in what new features/changes were made in V2.2 relative to 2.1. I noticed 2.2 on some systems here at Intel but didn't see it on the I web site.

  • Learning Solution: Instructor / Tutor iView(s) not working in Portal

    Hi all . . . We just installed the Instructor/Tutor package in our sandbox portal.  I gave the role to myself so that I could see the Instruction and Tutoring tab. Yet, when I click on Work Overview to see the Instructor's Work Center iView, it throw