Problem storing a secure key on the filesystem

Hello. I have made a key, and stored this in the file system. But it is not secure.
I have example code of doing this using password with salt and iterations. But the problem is that I get Illegial key size.
Can someone please paste code on how you can do this? I hope you have this code lying around. I would very much appreciate it. Even though it doesnt have password, I just want to know how you can securely store a key.
I know you also can use Cipher.WRAP_MODE, but I don't know which algorithms to use for the cipher. Any help is appreciated.
Shervin Asgari

Yes - but it is still almost trivial for any
competent Java programmer to hack. Even if youcould
hide the password then all a hacker has to do isto
modify the class that reads the file so as towrite
out the decrypted version.so, no solution for the problem of hiding data on the
client's computer?
I'm using a software shipped with a license file. I
have to ask the vendor for a new file when I install
it on a different PC. You mean that I could decrypt
that file and learn how to activate new licenses
simply inspecting the application code?Yes! There seems to be some general opinion that Java is easy to crack and cracking M$ products impossible. All M$ products can be cracked using this approach but since they are not so easy to decompile as Java it is a bit more difficult. There are Java class loaders available that use a dll to hide the Java byte code but once again they just make things a bit more difficult.
What it comes down to is that if your program (whether Java, C, C++ etc) can decrypt data then all the information to decrypt the data must be contained in your program. A code analysis will reveal the encryption method and the parameter values used.

Similar Messages

  • Apple needs to put a security key on the icloud.

    I think that apple should have a securitypassword when changing options on the icloud. Because if i were to steal and iphone all i have to do is go to the settings, go to icloud, and a simple swipe of the find my iphone and there is nothing they can do about it. I am posting this because i was worrying about my phone being stolen and i thought "oh well" i have the find my iphone turned on, and then it hit me, "how hard is it to turn that off" and answer is, no difficulty at all and i think apple should do something to fix that.

    If you set up a passcode on the phone and/or a restrictions passcode, it can't be turned off. Of course, they can easily wipe the phone and set it up as new. Nothing you can do about that.

  • I need help changing the security key for WRT54G2 1.5

    I already know the security key on my network, I just need to change it.  I don't have 'cisco connect'. I've tried the web based method with the 192.168.1.1 IP and using 'admin' for the password, but that gives me a '401 Not Authorized' error.  I've tried using my own security key instead of 'admin' and that doesn't work either.   How do I change this.  I tried to use the Linsky's knowledgebase and that didn't help. Live Chat won't help unless I'm willing to sign-up for some paid service plan, and there is no way I'm doing that.  I've never heard of a company charging their customers just to explain how to do something. All I have is a simple question about how to change the network security key when I already know what it is and there is no problem with the connection. Can anyone help me.  PLEASE.

    If admin didn’t work, it’s possible that you might have setup a different password to login to the setup of the router when you initially set it up. Since admin and your security key didn’t work when you tried accessing your router page, the other option for you then is to reset the router. Push and hold the reset button on the router using a pin or a paper clip for 30 seconds and unplug the power cord for another 30 seconds. Once the power light goes solid, you may start reconfiguring the settings of the router. For instructions, refer to these links: Setting up a Linksys router with Cable Internet service & Setting up a Linksys router for DSL Internet connection. Once you establish the wired internet connection, you may then start reconfiguring the wireless settings. Go to the Wireless tab: set the wireless configuration to manual; set a network name; then save the settings. Once saved, click on Wireless Security subtab:  set the security mode to WPA2 Personal and enter a new security key on the passphrase bar.

  • Finding my security key

    I have got a WRT54G router connected for the past year. I'm trying to add another laptop to my network and can only connect with limited connectivity. It keeps asking me for security code. I thought I used all zeros for the 13 digits but its not accepting it. And I can't log in to 192.168.1.1./
    Can anyone help me with this problem??

    Might be the security key which you are using, that might be invalid thats the reason you are unable to go online from your Wireless Computer. To Find out your Security key, Follow the setps bellow.
    Open an Internet Explorer browser page on your wired computer(desktop).In the address bar type - 192.168.1.1 and press Enter...Leave Username blank & in Password use admin in lower case...
    For Wireless Settings, please do the following : -
    Click on the Wireless tab
    For Wireless Security : -
    Click on the Sub tab under Wireless > Wireless Security..... In this tab you will fine out your security key, note down your security and then try to connect to your Wireless Network again on your Computer. 

  • USB security key not working with Mac

    Hello! I have a windows compatible medical program that I am trying to run on parallels on my mac. The program uses a USB security key to work. Mac nor parallels (i have win XP running on it) is detecting my security key. The key is recognized on a different windows XP PC though. any thought??? greatly appreciated!

    Hi OGELTHORPE,
    My USB stick was originally formatted as MS-DOS (FAT) as default and out of the box. As I understand this is the same as FAT32 on Win (?)
    MS-DOS (FAT) configuration was however what led to all of my problems stated above.
    That is why I'm confused.
    Before writing to the discussion board, I reconfigured the stick to ExFat, based on some similar research, but an article discussion advised the ExFat not to be a stable nor reliable configuration. I do not know why this issue was mentioned, but several users logged this as an issue of the ExFat.
    If you have a USB stick meant for Mac use only, not cross-platform, do you alter configuration from MS-DOS (FAT)?
    (Primary use is for Mac backup only, I'm willing to give up the cross-platform requirement)
    I also don't understand why my Mac didn't detect a second USB stick, prior used on a different Mac.
    Thanks!

  • Can't get a secure connection to the iTunes store

    Hey, been trying to connect to iTunes store for 4 months now. It used to work on my computer but now it says there's a problem getting a secure connection to the iTunes store. Its not the firewall or the network. Have tried: removing AVG, flushing dns, emailing apple, updating iTunes, uninstalling and reinstalling iTunes, changing to a new wireless network, but nothing worked. Have looked at all the pages of possible errors for windows but can't find anything that works.
    Any ideas? My computer used to have Norton 360 on it but it was deleted. Could there possibly be some files remaining that are preventing a connection to the iTunes store?
    Here's the error message part..
    Firewall Information
    Windows Firewall is on.
    iTunes is enabled in Windows Firewall.
    Connection attempt to Apple web site was unsuccessful.
    The network connection timed out.
    Connection attempt to iTunes Store was unsuccessful.
    The network connection timed out.
    Secure connection attempt to iTunes Store was unsuccessful.
    An unknown error occurred (-28).
    Secure connection attempt to iPhone activation server unsuccessful.
    An unknown error occurred (-28).
    Last successful store access was 2009-03-22 00:06:15.

    here is the full message
    Microsoft Windows Vista Home Premium Edition Service Pack 1 (Build 6001)
    Sony Corporation VGN-SZ71E_B
    iTunes 8.2.0.23
    QuickTime 7.6.2
    FairPlay 1.4.10
    iPod Updater Library 8.1d19
    CD Driver 2.1.0.1
    CD Driver DLL 2.1.1.1
    Apple Mobile Device 2.5.1.3
    Apple Mobile Device Driver not found.
    Bonjour 1.0.6.2 (118.5)
    iTunes Serial Number 7ED07C9C624D1BE5
    Current user is not an administrator.
    The current local date and time is 2009-07-05 18:27:05.
    iTunes is not running in safe mode.
    Video Display Information
    NVIDIA, NVIDIA GeForce 8400M GS
    Intel Corporation, Mobile Intel(R) 965 Express Chipset Family
    Intel Corporation, Mobile Intel(R) 965 Express Chipset Family
    ** External Plug-ins Information **
    No external plug-ins installed.
    ** Network Connectivity Tests **
    Network Adapter Information
    Adapter Name: {A89A4327-224A-4BC2-A822-9B166AD2E714}
    Description: Intel(R) Wireless WiFi Link 4965AGN
    IP Address: 192.168.1.102
    Subnet Mask: 255.255.255.0
    Default Gateway: 192.168.1.1
    DHCP Enabled: Yes
    DHCP Server: 192.168.1.1
    Lease Obtained: Sun Jul 05 18:14:25 2009
    Lease Expires: Mon Jul 06 18:14:25 2009
    DNS Servers: 194.168.4.100
    194.168.4.100
    194.168.8.100
    Adapter Name: {5D4BDCCA-89C5-4C89-8547-1AAF8A41C56E}
    Description: Bluetooth Device (Personal Area Network)
    IP Address: 0.0.0.0
    Subnet Mask: 0.0.0.0
    Default Gateway: 0.0.0.0
    DHCP Enabled: Yes
    DHCP Server:
    Lease Obtained: Thu Jan 01 00:00:00 1970
    Lease Expires: Thu Jan 01 00:00:00 1970
    DNS Servers:
    Adapter Name: {687A0F17-3DBF-4EDA-8008-7FEA39063F42}
    Description: Marvell Yukon 88E8055 PCI-E Gigabit Ethernet Controller
    IP Address: 0.0.0.0
    Subnet Mask: 0.0.0.0
    Default Gateway: 0.0.0.0
    DHCP Enabled: Yes
    DHCP Server:
    Lease Obtained: Thu Jan 01 00:00:00 1970
    Lease Expires: Thu Jan 01 00:00:00 1970
    DNS Servers:
    Active Connection: LAN Connection
    Connected: Yes
    Online: Yes
    Using Modem: No
    Using LAN: Yes
    Using Proxy: Yes
    HTTP Proxy: 137.73.37.85:80
    SSL 3.0 Support: Enabled
    TLS 1.0 Support: Enabled
    Firewall Information
    Windows Firewall is on.
    iTunes is enabled in Windows Firewall.
    Connection attempt to Apple web site was unsuccessful.
    The network connection timed out.
    Connection attempt to iTunes Store was unsuccessful.
    An unknown error occurred (-28).
    Secure connection attempt to iTunes Store was unsuccessful.
    An unknown error occurred (-28).
    Secure connection attempt to iPhone activation server unsuccessful.
    An unknown error occurred (-28).
    Last successful store access was 2009-03-22 00:06:15.

  • Change the filesystem definition

    Hello all,
    I have to install an IN over a V240. The problem is that I dont have the filesystem as I need to install the OSP.
    I have the following:
    /dev/dsk/c0t0d0s0 11094316 4604255 6379118 42% /
    /devices 0 0 0 0% /devices
    ctfs 0 0 0 0% /system/contract
    proc 0 0 0 0% /proc
    mnttab 0 0 0 0% /etc/mnttab
    swap 3714800 1024 3713776 1% /etc/svc/volatile
    objfs 0 0 0 0% /system/object
    fd 0 0 0 0% /dev/fd
    /dev/dsk/c0t0d0s5 6053358 1139571 4853254 20% /var
    swap 3713776 0 3713776 0% /tmp
    swap 3713824 48 3713776 1% /var/run
    /dev/dsk/c0t0d0s7 51424287 51009 50859036 1% /space
    And I need to have the following structure (similiar):
    ilesystem 1024-blocks Used Available Capacity Mounted on
    /dev/md/dsk/d10 4133838 1624874 2467626 40% /
    /proc 0 0 0 0% /proc
    fd 0 0 0 0% /dev/fd
    mnttab 0 0 0 0% /etc/mnttab
    swap 24715144 136 24715008 1% /var/run
    swap 24715048 40 24715008 1% /tmp
    /dev/md/dsk/d50 1021735 3668 956763 1% /indelivery
    /dev/md/dsk/d60 38836771 3201327 35247077 9% /in
    /dev/md/dsk/d40 1529383 1043329 424879 72% /in/oracle
    /dev/md/dsk/d30 194239 38882 135934 23% /global/.devices/node@1
    /dev/md/dg-smp/dsk/d120
    70557658 16892919 52959163 25% /in/smp
    /dev/md/dg-smp/dsk/d130
    70557658 1853870 67998212 3% /in/smp/smf/platform/archdb
    /dev/md/dsk/d33 194239 38882 135934 23% /global/.devices/node@2
    So I dont know how to use the big /dev/dsk/c0t0d0s7 to create the new filesystems.
    If somebody can help I'd really appreciate it.
    Summary: How to modify the existing filesystem in 3 or 4 filesystems.
    Rgds
    Sebastian.

    That seems to be an OS question in a Hardware Forum.
    I'll respond with a Hardware perspective:
    ... back up all critical data and wipe it clean.
    Install everything fresh to your personal preferences.
    You'll save so very much time and mental agony trying to make it work any other way.
    ( and it never will be exactly as you'd hope; you cannot resize the root partition any other way. )

  • Lost Security key, not accepting my password

    I'm trying to sync my Iphone with outlook.
    I have 2 apple accounts for the cloud, I have misplaced my Security Key for the account I need to sync with. When I enter my ID and Password, I get an error message that says, account has been locked for security reasons. Can this be reset without the security key?
    Thank you

    See #6 here and reset the password, then follow the links to fix the Keychain also.
    Step by Step to fix your Mac

  • RSA1 Error during the retrieval of the logon data stored in secure storage

    Hi Gurus,
    when i go and check Source system the connection is OK, and RFC's from BI to R/3  and R/3 to BI is OK (including Authentication).
    but when i go and check Info provider there one customized object ZDTSYS01 is there when i check and and activate it it is giving error as below.
    All DDIC objects have been activated / deleted
    Post Processing/Checking the Activation for DataStore Object ZDTSYS01
    Creating Export DataSource and dependent Objects
    The creation of the export DataSource failed
    Reading the Metadata of ZDTSYS01 ...
    Creating DataSource 8ZDTSYS01 ...
    Error during the retrieval of the logon data stored in secure storage
    Error during the retrieval of the logon data stored in secure storage
    Error when creating the export DataSource and dependent Objects
    Program ID DC4B105KR4QT1KDW9HD7AXYEO retrieved for DataStore object ZDTSYS01
    Error when activating DataStore Object ZDTSYS01
    Deletion of Unused Dictionary Objects ( 3)
    please help me solve this issue
    Thanks in advance
    venkat

    Hi,
    1). Looks like SM59 Remote user has some issues. Can you check whether the user's are locked ?
    2). You can also correct this is TA STMS. Here you navigate to "System Overview (Shift+F6)".
    On the following screen, you select "Generate RFC DESTINATIONS" which can be found under "Extras".
    3). Please click on source system and restore the BW source system
    Please check the below 2 SAP Notes.
    538052 and 644015.This might solve your problem.
    Thanks,
    Arjun

  • When I open Firefox the following alert appears: "Could not initialize the application's security component. The most likely cause is problems with files in your application's profile directory." There is a solution in the forum but only for Windows based

    When I open the application the following alert appears: "Could not initialize the application's security component. The most likely cause is problems with files in your application's profile directory." There is a solution on the support site but only for Windows-based Firefox, and I'm a Mac user. I have plenty of room on my hard disk.
    == This happened ==
    Every time Firefox opened
    == Two days ago, for no apparent reason.

    In Mac OS X v10.7, the $HOME/Library folder is a hidden folder.
    Open Finder and use one of these:
    * Go > Go To Folder (Shift-Command-G) and in the dialog type: ~/Library
    * Open the "Go" menu and hold down the Option key to make the Library appear
    You can also use this command in a Terminal window to remove the hidden flag.
    * Mac HD > Applications > Utilities > Terminal
    * chflags nohidden ~/Library

  • When using Java Wizard with Firefox 3.6.23 on a Mac OS X 10.6.8 it keep getting an error message: "The Java Wizard cannot run. Please configure your browser to allow Java applets to access the filesystem." Have NO idea how to fix this problem.

    When trying to upload files I received the following error: "The Java Wizard cannot run. Please configure your browser to allow Java applets to access the filesystem."

    If the problem is with a site that is hosted using MOVEit DMZ by Ipswitch, please notify the site owner of the issue and ask them to apply the patch that is available on the support site to resolve the issue.
    This is a better resolution than downgrading your version of Java that was updated due to security issues.

  • Error during the retrieval of the logon data stored in secure storage RSAR0

    Hi Friends,
    during the replication process of a data source I get the error.
    "Error during the retrieval of the logon data stored in secure storage"  RSAR051
    I found note 538052 but this does not help so much.
    Can some one help me with this?
    Thanks in advance
    Rg. Jimbob

    Hi,
    We are getting  the same error when selecting "Customizing Extractors" option in Source System in TCode: RSA1. Please let me know how did u solved the problem.
    Thanks.

  • There is a problem with this connection's security certificate The remote computer cannot be authenticated due to problems with its security certificate. Security certificate problems might indicate an attempt to fool you or intercept any data you send

    Hi,
    I have this Windows 2008 R2 on which I installed remoteapp some years ago.
    Now the certificate expired and I get the message
    "There is a problem with this connection's security certificate
    The remote computer cannot be authenticated due to problems with its security certificate.
    Security certificate problems might indicate an attempt to fool you or intercept any data you send to the remote computer."
    How should I renew the certificate? I already went to certification store and tried to renew certificate with same key but then it says "the request contains nor certificate template information".
    Please advise.
    J.
    J.
    Jan Hoedt

    Does the computer account have Enroll permission to the certificate template?
    From the Server running your CA, run mmc, click File then Add/Remove Snap-in...
    Add Certificate Templates and click OK.
    Find the certificate template, then right click and select properties.  On my CA its call ed RemoteDesktopComputers but might be called something different depending on what what template your certificate is based on.
    On the security tab, click Oblect types, check Computers then OK. Enter the Computername and click OK.  Then give your computer account Enroll permisssion.
    HTH,
    JB

  • After downloadeding the latest Java plugin, I start to receive "Please configure your browser to allow Java applets to access the filesystem" message when I try to run a download wizard. What do I need to do? BTW, IE does not have this problem.

    I had no problem using a download wizard Java applet to download file to my computer from an SFTP site using Firefox. When I tried to do the same thing with Chrome, I was told to download the latest plugin. Once I did that, I receive the following message when I run the downlaod wizard:
    The Java Wizard cannot run.
    Please configure your browser to allow Java applets to access the filesystem.
    I got the same message using Firefox and Chrome. However, I have no problem using IE to run the same download wizzard. Please help.

    If the problem is with a site that is hosted using MOVEit DMZ by Ipswitch, please notify the site owner of the issue and ask them to apply the patch that is available on the support site to resolve the issue.
    This is a better resolution than downgrading your version of Java that was updated due to security issues.

  • I have problem with Ultra Secure Memory Key Login Software (as non admin) hdlSrv.exe

    I have problem with a memory key lenovo 1g. Here is a Company and the Users can't be Admin. So We have a big problem. I download "KeySafe II and MyKey in Non-Admin Mode" but its not run. I found in Lenovo pag, i installed as said in the instructions but i repeat I return to be normal user and  couldn't use it in mode User! I trying and i saw that the service hdlsrv be on and run! but i can't. So  ¿are there  an archive that i can use and can use it this pendrive in Non-Admin mode?
    We have SO Wxp
    KeyLock : Ultra Secure Memory Key Login Software 1.0.3.6
    Fru 45j5923
    Lenovo 1g
    Please!!! help Mee!!
    thank u!

    Jan 2, 2008 11:49:35 AM org.apache.coyote.http11.Http11Protocol init
    INFO: Initializing Coyote HTTP/1.1 on http-8080
    Jan 2, 2008 11:49:35 AM org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 734 ms
    Jan 2, 2008 11:49:35 AM org.apache.catalina.core.StandardService start
    INFO: Starting service Catalina
    Jan 2, 2008 11:49:35 AM org.apache.catalina.core.StandardEngine start
    INFO: Starting Servlet Engine: Apache Tomcat/5.5.9
    Jan 2, 2008 11:49:35 AM org.apache.catalina.realm.JDBCRealm start
    SEVERE: Exception opening database connection
    java.sql.SQLException: oracle.jdbc.driver.OracleDriver
         at org.apache.catalina.realm.JDBCRealm.open(JDBCRealm.java:684)
         at org.apache.catalina.realm.JDBCRealm.start(JDBCRealm.java:758)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1004)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
         at org.apache.catalina.core.StandardService.start(StandardService.java:450)
         at org.apache.catalina.core.StandardServer.start(StandardServer.java:683)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:537)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)
    Jan 2, 2008 11:49:35 AM org.apache.catalina.core.StandardHost start
    INFO: XML validation disabled
    Jan 2, 2008 11:49:36 AM org.apache.catalina.core.StandardContext resourcesStart

Maybe you are looking for