Copy Password protected document to 2d computer

Issues installing under the Mac OSX - X11 - Aqua

Copy Password protected document to 2d computer

Postby pedalmegone » Thu Oct 31, 2019 1:15 pm

Hello everyone,

When I copy an OO document to a second computer, the password doesn't work. I've had to work around it by saving it with a new name without a password on computer 1 and then copying it again to computer2.

I have 2 questions:

1. why does this happen and is there a workaround?

2. when I do succesfully make a copy from computer 1 without a password, the document on computer 2 won't take the old password.

Thanks in advance!
OO 4.1.2 on Mac
Last edited by MrProgrammer on Thu Oct 31, 2019 5:23 pm, edited 1 time in total.
Reason: Moved from Beginners forum to Mac OSX
Mac Os X El Capitan 10.11.6
pedalmegone
 
Posts: 9
Joined: Mon Oct 07, 2013 12:18 pm

Re: Copy Password protected document to 2d computer

Postby John_Ha » Thu Oct 31, 2019 1:36 pm

That does not sound right.

What file type is it? .odt? .doc?

Try this on both PCs. The password is Fred.
Attachments
test.odt
Password is Fred
(7.71 KiB) Downloaded 30 times
LO 6.4.4.2, Windows 10 Home 64 bit

See the Writer Guide, the Writer FAQ, the Writer Tutorials and Writer for students.

Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
John_Ha
Volunteer
 
Posts: 7794
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

Re: Copy Password protected document to 2d computer

Postby RoryOF » Thu Oct 31, 2019 3:05 pm

John_Ha wrote:That does not sound right.

What file type is it? .odt? .doc?

Try this on both PCs. The password is Fred.


Note that the password is case sensitive, so Fred, not fred.
Apache OpenOffice 4.1.7 on Xubuntu 20.04.1 (mostly 64 bit version) and very infrequently on Win2K/XP
User avatar
RoryOF
Moderator
 
Posts: 31416
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Copy Password protected document to 2d computer

Postby RoryOF » Thu Oct 31, 2019 3:06 pm

Perhaps document is trying to be opened by a different user on the second computer?
Apache OpenOffice 4.1.7 on Xubuntu 20.04.1 (mostly 64 bit version) and very infrequently on Win2K/XP
User avatar
RoryOF
Moderator
 
Posts: 31416
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Copy Password protected document to 2d computer

Postby John_Ha » Thu Oct 31, 2019 3:37 pm

RoryOF wrote:Perhaps document is trying to be opened by a different user on the second computer?

Rory

The password is completely independent of user name, path and machine. It is wholly contained within the password protected document and derived solely from what the user types (hashed with seeds which are stored in the file so that using the same password for two different documents gives unique encryptions to the data). See Unable to open p/word protected file anymore for a discussion of how passwords work in AOO.

Another thought for the poster - could it be that the keyboard mapping is different on the two PCs?

1. Open a document with AOO on PC1 and type the password into it.
2. Open a document with AOO on PC2 and type the password into it.

Do they both look absolutely identical? or does one have characters with accents or something different?
LO 6.4.4.2, Windows 10 Home 64 bit

See the Writer Guide, the Writer FAQ, the Writer Tutorials and Writer for students.

Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
John_Ha
Volunteer
 
Posts: 7794
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

Re: Copy Password protected document to 2d computer

Postby RoryOF » Thu Oct 31, 2019 4:04 pm

I had thought (as a quick speculation) that ownership of the file might be involved. I confirm that I was able to download and open your text.odt file.
Apache OpenOffice 4.1.7 on Xubuntu 20.04.1 (mostly 64 bit version) and very infrequently on Win2K/XP
User avatar
RoryOF
Moderator
 
Posts: 31416
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Copy Password protected document to 2d computer

Postby MrProgrammer » Thu Oct 31, 2019 4:59 pm

pedalmegone wrote:When I copy an OO document to a second computer, the password doesn't work.
[Tutorial] Mac FAQ Q08/A08

John_Ha wrote:Try this on both PCs. The password is Fred. ATTACHMENTS: test.odt
I can open test.odt with no problem on my MacOS 10.11.6 system.

pedalmegone wrote:OO 4.1.2 on Mac
See Q09/A09.

If this solved your problem please go to your first post use the Edit button and add [Solved] to the start of the title. You can select the green checkmark icon at the same time.
Mr. Programmer
AOO 4.1.7 Build 9800 on MacOS 10.14.6.   The locale for any menus or Calc formulas in my posts is English (USA).
User avatar
MrProgrammer
Moderator
 
Posts: 3961
Joined: Fri Jun 04, 2010 7:57 pm
Location: Wisconsin, USA

Re: Copy Password protected document to 2d computer

Postby RoryOF » Thu Oct 31, 2019 5:14 pm

One warning: it can be a bad idea to password protect Open-/Libre-Office files, even though the facility is provided.

If one forgets the password it is effectively impossible to open the file, as the encryption is so strong. Also, in the event that the file becomes corrupted, which can happen with an impatient user or power failure, it can be impossible to decide if the problem arises from the encryption or the corruption; but in either case the file is lost.

See, for example, this case:
I forgot my password to a very important document Please Please help. I'll get fired

If I needed to restrict access to a particular file, I would place it into a Zip or other encrypted folder, or keep it on my own removable media.
Apache OpenOffice 4.1.7 on Xubuntu 20.04.1 (mostly 64 bit version) and very infrequently on Win2K/XP
User avatar
RoryOF
Moderator
 
Posts: 31416
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Copy Password protected document to 2d computer

Postby pedalmegone » Thu Oct 31, 2019 8:53 pm

HI all, thank you for your comments.

1) I'm the same user on both computers; in fact both computers have the same log in.
2) I've a feeling it might be the keyboard issue (John_Ha) because when trying to save a file that had been copied from the laptop#1 to the desktop#2, using the same password, I get this
error message:
Open Office 4.1.2: Error saving the document [name]. General Error. General input/output error.
3)I can use this same password but only if I first save the file without a password on laptop1, copy it to minimac 2, and then save with password.

This is not a MAC keyboard, it is a logitech blue tooth keyboard which I use with the Mac minimac. in a text file they do look exactly the same.
Mac Os X El Capitan 10.11.6
pedalmegone
 
Posts: 9
Joined: Mon Oct 07, 2013 12:18 pm

Re: Copy Password protected document to 2d computer

Postby pedalmegone » Thu Oct 31, 2019 8:56 pm

Uh-oh: further complication: If I save the same document as an XP document instead of odt, I can use the same password that doesn't work with the odt.
Mac Os X El Capitan 10.11.6
pedalmegone
 
Posts: 9
Joined: Mon Oct 07, 2013 12:18 pm


Return to Mac OSX

Who is online

Users browsing this forum: No registered users and 3 guests