notecase password in PPC - byte order wrong

Bug #328712 reported by Fixerdave
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
notecase (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: notecase

This only effects PowerPC (PPC) distributions.

The PPC build of Notecase does not do the byte order properly and this makes passwords incompatible across platforms. Thus, Notecase files encrypted under Ubuntu PPC will not open on other platforms, and vice-versa. They can be unencrypted locally, but will report an incorrect password (even though it is correct) when unencrypting on a different platform.

The Notecase author, that is no longer working on the FOSS version of Notecase, suggested I try putting the following in the make file:

BYTE_ORDER=-DSHA1_BIG_ENDIAN -DORDER_ABCD

This works; problem solved.

As of this reporting, Ubuntu v8.10 installs Notecase v1.9.1. The above fixes the problem.
The latest version of Notecase, v1.9.8 has a bunch of switches in the make file that appear to switch the byte-order after detecting the HW platform. It doesn't work with Ubuntu PPC either. Putting the above byte_order setting above and below the switch section of the make file (I know, just a shotgun approach) fixed the problem.

I suppose someone with more skill than I in make files could add correct detection of the Ubuntu PPC platform...

NOTE! - Obviously, people that have encrypted Notecase files should save unencrypted versions before fixing the above problem. They will lose the ability to decrypt the pre-fix files. This will obviously complicate an automated patch fix update -- I have no idea how to deal with that.

Tags: ppc
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.