UPM 1.0 for Android

29Jan10

There’s nothing like the feeling of relief the day after a software release. Even when it’s only something small you’re still putting your creation out into the big bad world to be pored over.

Over the past few weeks I’ve been working on a version of UPM for Android. This was mainly an exploratory exercise so that I could get a feel for Android but it’s nice to have something useful at the end of it.

UPM is cross platform, easy to use password manager. It runs on Windows, OS X (native L&F), Linux and now Android. It’s available on the Android Market or by direct download.

I hope you find it useful.

  • Jarrod Konz
    I get a message of Sorry The application UPM (processcom.u17od.upm)has stopped unexpectedly. please try again "Force Close" on my htc android. I am unable to access my passwords when i retry i get the same message. can you help
  • Adrian Smith
    Without direct access to your phone it's very difficult to say. Have you tried rebooting your phone?
  • George
    I had the UPM app loaded on my HTC droid. Just today I was notified by you that there was an update to UPM. Which I updated successfully according to the droid. BUT now when I try to access the UPM program it says that "the linked program is no longer installed on your phone". Is all my data wiped out? What do I do now?
  • Adrian Smith
    Hi George,

    Your data is not gone. This is a known problem. Try restarting your
    phone.If it's still not working recreate the shortcut to upm.

    There's a full explaination on the blog post explaining the problem.

    Let me know how you get on.

    Adrian
  • Alain Mouette
    Could you help some user that is a non java programmer? The Linux version has a bunch of .jar files, How do I start it?
  • Adrian Smith
    No problem Alain.

    First of all make sure you have Java installed. You didn't mention what distribution of Linux you're using. If you're running Ubuntu these instructions are pretty good, http://www.ubuntugeek.com/install-java-runtime-....

    Next you'll need to install the Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files. These provide the JRE with full strength encryption. They're not included by default due to US export/import restrictions. For Java 6 they can be downloaded from this page, http://java.sun.com/javase/downloads/index.jsp (the last download link near the bottom of the page). The downloaded zip will contain a few files, the most important being local_policy.jar and US_export_policy.jar. These two files need to replace two with the same name located in your JRE's installation directory. This directory can be a bit tricky to locate on some Linux distros. On Ubuntu it will be something like /usr/lib/jvm/java-6-sun/jre. The files you want to replace are in the directory <JRE install dir>/lib/security.

    You're now ready to run UPM. You can do this one of two ways. You can right click the file upm.jar and select "Open with Sun Java6 Runtime" or you can start a command shell, go to the directory containing upm.jar and enter 'java -jar upm.jar'.
  • Hi Adrian. I'll be giving UPM a try on my Nexus One. I like the fact that it is cross-platform. Cheers. :)
  • Adrian Smith
    Let me know how it goes. I've only been able to test on the Emulator and HTC Hero so I'd be interested to know how it performs on other Android devices.
  • davidreedernst
    Howdy! I was very happy to find UPM! A very important service, provided cleanly and simply. Thank you!

    At first, I was confused about why on my Droid I could reopen it without typing my password. Waking up this morning, I was prompted for my master password. How long will it let you through before prompting you again? Could this be a configurable option?

    Thanks for listening to my feedback, and again, thanks for sharing this with the world!
  • Adrian Smith
    I'm afraid I can't give you a definite answer on that David. The UPM application doesn't specify exactly what the timeout period is so it's down to the Android OS. The reason is that Android will only destroy an application when it needs that app's memory and the application isn't being actively used (i.e. the foreground application).

    I'm hoping in the next version to make this a bit more predictable and even configurable as you request.
  • davidreedernst
    Thanks very much for the explanation. Maybe I should be clear: my hope is that it would ask for my password more often. Maybe one easy feature to add would be a "log out" type of function, so that when you knew you were done with whatever you were looking at, you could be sure that the next time the program ran it would require the password. Just an idea, thanks again for the application and your willingness to engage with your users!
  • Adrian Smith
    Sounds like a good idea David. I'll see what I can do.
  • msturtz
    Are the binary files compatible, can I manage the sync by hand in the meantime? You can email me directly if you'd like -- your domain name @ matt house dot com. Thanks for your reply!!!
  • Adrian Smith
    The database files are 100% compatible msturtz. I'll put the instructions here for anyone else who'd like to see them.

    Here's how to copy your PC file to your phone.

    1. Connect your phone to your PC using the USB cable.
    2. On your phone go into Notifications and select "USB connected" (this will mount your phone's SD card as a drive on your PC).
    3. Copy and rename your PC's UPM password db to the root of the mounted drive. Name it "upm.db".
    4. Unmount the drive on your PC (right-click the drive and Eject on Windows)
    5. Turn off the USB storage on your phone (Notifications -> Turn off USB storage)
    6. Start UPM on your phone and enter your master password to open the current database.
    7. Select Menu -> More -> Restore
    8. When promoted to overwrite your existing db select Yes (assuming of course your want replace your phone's db with the one from your PC).

    The upm.db file on your SD card will be copied into UPM's private storage area and opened. You'll be prompted for you master password as usual.

    Similar steps can be followed to copy the db on your phone to your PC. Selecting Menu -> More -> Backup, will copy your db to your SD card and call it upm.db. You can then copy this file to your PC.

    Let me know if you have any problems.
  • msturtz
    Hi, I just found UPM. I was disappointed that pwsafe-android, which should be compatible with Password Safe on the PC, actually isn't, and there doesn't seem to be any current development.

    I'll pony up a $25 donation if you can add the HTTP-sync feature to the Android version, so that I can keep the database in sync with the PC clients. :-)
  • Adrian Smith
    HTTP sync is the big feature I'm working on for the next release. Hopefully it won't be much longer.
  • Adrian Smith
    Hi Davy,

    Unfortunately there's no import facility available at the moment. A few people have asked for it though so I'll probably include it in a future release.

    Adrian
  • Davy
    Hi, is there a possibility to import data from PC ? And if yes, in which format does it needs to be made on the PC to be imported ?
blog comments powered by Disqus