anything

Author Topic: Java Edition  (Read 27409 times)

Offline landshark

  • Jr. Member
  • **
  • Posts: 19
Java Edition
« on: October 21, 2011, 09:10:59 PM »
Hello -

I've created a Java version of PasswordMaker, suitably named PasswordMaker-JE.  The project and downloads are located on Google code at http://code.google.com/p/passwordmaker-je/.  

Current Version: 0.7.1 (October 20 2012)

It looks much like the Firefox plugin (slightly older 0.5.1 screenshots):



A few key features:
  • Import and export of RDF files. You can export your accounts from Firefox, use/modify them in the java version, save your changes, and then re-import them into Firefox. HOWEVER, it will not save domain and extra form settings (extra auto-fill information).  If all you have are accounts and groups, then this should be safe to use.  Please keep backups of your RDF file just in case. Note: PasswordMaker-JE does preserve the global settings of the Firefox plugin so you will not lose those.
  • Sorting of accounts.  You can select an account group and sort it's accounts.

I've created 6 installers on the downloads page for now:
  • Windows w/32-bit Java (most common, even on 64-bit Windows installations)
  • Windows w/64-bit Java
  • OSX - 64-bit Intel
  • OSX - 32-bit Intel
  • Linux - 32-bit Intel
  • Linux - 64-bit Intel

The reason for the multiple installers is because I'm using SWT as the underlying GUI toolkit, and SWT is platform-dependent.

If anyone wants other versions created (Linux, PowerPC OSX, etc...) please let me know. If it's more convenient for you to just have direct access to the jar files instead of an installer, let me know and I can start uploading those as well.

This version also comes with a command-line version, though it's functionality is limited. It is not as feature complete as the other CLI version on this site.

If you want to build from source, please see the wiki page on building: http://code.google.com/p/passwordmaker-je/wiki/building.

Some basic information is located here: http://code.google.com/p/passwordmaker-je/wiki/Usage.  It's assumed if you know how to use the Firefox plugin, you'll be able to use/figure-out this version.

One more important note - If you are using old-buggy (MD5 Version 0.6, HMAC MD5 Version 0.6, HMAC SHA-256 v1.5.1) algorithms from the Firefox plugin, the Java version will silently drop them. It prints the fact that it found it on the console, but on most Windows/OSX installations you will not see the console.  I'll fix this in a future version either by having disabled accounts or a messagebox of some kind.
« Last Edit: October 20, 2012, 11:58:35 PM by landshark »

Offline jstapleton

  • Jr. Member
  • **
  • Posts: 16
Re: Java Edition
« Reply #1 on: October 21, 2011, 09:17:43 PM »
This is interesting... I wonder if we could join up our code bases.  I have an android app java project on github..  I'm at work right now, so haven't looked at your code.  But for sure I was interested in implementing the rdf parsing logic myself, for imports from firefox.

Offline landshark

  • Jr. Member
  • **
  • Posts: 19
Re: Java Edition
« Reply #2 on: October 21, 2011, 09:30:04 PM »
I had thought about an Android port since I had all the RDF import/export logic in Java already - even better if you already have a project.  Is this you: https://github.com/tasermonkey/android-passwordmaker

I'll contact you via a PM to prevent a thread-hijack.

Offline Eric H. Jung

  • grimholtz
  • Administrator
  • *****
  • Posts: 3348
    • http://passwordmaker.org/
Re: Java Edition
« Reply #3 on: December 07, 2011, 08:26:51 PM »
This should be on the wiki ! I'll try to add it now.

Offline Eric H. Jung

  • grimholtz
  • Administrator
  • *****
  • Posts: 3348
    • http://passwordmaker.org/
Re: Java Edition
« Reply #4 on: December 09, 2011, 05:13:45 PM »
This should be on the wiki ! I'll try to add it now.

Done: http://passwordmaker.org/Java

Offline landshark

  • Jr. Member
  • **
  • Posts: 19
Re: Java Edition
« Reply #5 on: December 16, 2011, 04:06:48 AM »
There's a bug in the current version where the password displayed in the "Add New Account" window is not the correct generated password. After you create the account, the correct password will be displayed in the main window. This only affects the "Add New Account" window. It is fixed in the git repository but has not yet been released.

Offline Eric H. Jung

  • grimholtz
  • Administrator
  • *****
  • Posts: 3348
    • http://passwordmaker.org/
Re: Java Edition
« Reply #6 on: December 21, 2011, 04:25:32 PM »
Nice to know. Do you know when the new version will be released?

Offline landshark

  • Jr. Member
  • **
  • Posts: 19
Re: Java Edition
« Reply #7 on: December 22, 2011, 02:30:32 AM »
Version 0.6.0 released. All the Windows/OSX installers have been updated.

Changes in 0.6.0
  - "Default" account behavior added.  This allows for dynamic URLs to be used
    unlike the static URLs used in other accounts. This matches the behavior
    of the web verison of passwordmaker.
  - When filtering accounts, the account tree now expands to show the accounts
    as well as selects the 1st possible account.
  - Added hotkeys (use "command" in OSX):
      Ctrl+F = Jump to filter textbox (still makes a system beep, not
               really sure why).
      Ctrl+N = New
      Ctrl+O = Open
      Ctrl+S = Save
      Pressing enter in the filter textbox jumps to the master pasword textbox.
  - Fixed bug where the password was generated incorrectly while adding a
    new account.
  - The source code has been partitioned into an engine set of packages and
    an application set of packages. This allows the engine to be used in other
    applications.
  - Fixed bugs where "Open" and "New" didn't prompt for saving of the current
    file.
  - Added a few more unit tests.
  - Added an exception dialog if an uncaught exception gets thrown from the
    main window.

Offline Eric H. Jung

  • grimholtz
  • Administrator
  • *****
  • Posts: 3348
    • http://passwordmaker.org/
Re: Java Edition
« Reply #8 on: December 23, 2011, 04:49:25 AM »
Nice work!

Offline landroni

  • Jr. Member
  • **
  • Posts: 18
Re: Java Edition
« Reply #9 on: May 12, 2012, 03:26:14 PM »
Hello

If anyone wants other versions created (Linux, PowerPC OSX, etc...) please let me know. If it's more convenient for you to just have direct access to the jar files instead of an installer, let me know and I can start uploading those as well.

I would like to try PasswordMaker-JE on Ubuntu Linux but I'm not sure how to get started since the only downloads available are Win/Mac installers. Could you make available the jar file (or some other files that Linux users could use)?

Thanks!

Offline landshark

  • Jr. Member
  • **
  • Posts: 19
Re: Java Edition
« Reply #10 on: May 15, 2012, 03:43:17 AM »
Hello

If anyone wants other versions created (Linux, PowerPC OSX, etc...) please let me know. If it's more convenient for you to just have direct access to the jar files instead of an installer, let me know and I can start uploading those as well.

I would like to try PasswordMaker-JE on Ubuntu Linux but I'm not sure how to get started since the only downloads available are Win/Mac installers. Could you make available the jar file (or some other files that Linux users could use)?

Thanks!

Hello -

I've made both 32-bit and 64-bit jar files of the 0.6.0 release available on the main page: http://code.google.com/p/passwordmaker-je/

Unfortunately, I have no way to test them.  If they work, please let me know.

To run them, I'd assume you could do: java -jar the_jar_file.jar on the command-line - but again I cannot test it (my linux box imploded).

Offline landshark

  • Jr. Member
  • **
  • Posts: 19
Re: Java Edition
« Reply #11 on: May 18, 2012, 01:32:52 AM »
I've re-uploaded the java versions.  I screwed up the build and the SWT jars didn't get included.  I hope it works now.

Offline landroni

  • Jr. Member
  • **
  • Posts: 18
Re: Java Edition
« Reply #12 on: May 18, 2012, 07:39:23 AM »
Hello

I've re-uploaded the java versions.  I screwed up the build and the SWT jars didn't get included.  I hope it works now.

Thanks for the uploading the builds. Now the 64-bit jar file opens as expected on Xubuntu Lucid.

Offline landshark

  • Jr. Member
  • **
  • Posts: 19
Re: Java Edition
« Reply #13 on: July 15, 2012, 02:57:21 AM »
Version 0.7.0 has been released. All of the packages have been updated (Windows/OSX/Linux)

Changes for 0.7.0
  - Issue 29 fixed. Hash marks, '#', no longer cause problems in the input URL.
  - Issue 30 fixed. If a file with name that ends with ".rdf" exists in the
    directory where pwmje was launched, pwmje will attempt to launch it. If
    the file is invalid, pwmje will silently fail (since it is entirely
    possible to have other rdf files in the same directory).  Additionally
    if no file is found, it will attempt to load the following files:
      o $HOME/passwordmaker.rdf
      o $HOME/pwmje.rdf
      o $HOME/.pwmje.rdf
      o $HOME/.passwordmakerrc
    Again, any failure will be silent.
  - When tabbing between fields in the main window, all the text of the focused
    control is automatically selected.
  - Added drag and drop onto the text fields of the main window. You can drag
    an URL from a browser (IE/Firefox/Chrome/etc) onto the Input URL text field
    and it will search the list of accounts for a match, selecting it if a match
    is found.
  - Fixed missing image credits text in about window.

Offline Eric H. Jung

  • grimholtz
  • Administrator
  • *****
  • Posts: 3348
    • http://passwordmaker.org/
Re: Java Edition
« Reply #14 on: July 15, 2012, 03:31:16 AM »
Version 0.7.0 has been released. All of the packages have been updated (Windows/OSX/Linux)

Just checked this out. Very nice. Thanks for the work!

eric

PasswordMaker Forums

Re: Java Edition
« Reply #14 on: July 15, 2012, 03:31:16 AM »

 

anything