Opening password protected PDF files with evince

Hi,

I routinely receive password protected PDF files from my bank, via email. In thunderbird I click on
the document, which is opened via default option (evince). I enter my password and select “remember
password until you logout”. The document opens.

Then I click on another email, to open a second PDF - but I’m forced to type again the password. It
is not remembered.

This is a nuisance, because my password is complex.

I’m using XFCE under 13.1 at the moment. The problem is also present on 12.3.

Suggestions?

Do I need to activate some service for passwords to be remembered?


Cheers / Saludos,

Carlos E. R.
(from 13.1 x86_64 “Bottle” (Elessar))

Carlos E. R. wrote:
> Hi,
>
> I routinely receive password protected PDF files from my bank, via
> email. In thunderbird I click on the document, which is opened via
> default option (evince). I enter my password and select “remember
> password until you logout”. The document opens.
>
> Then I click on another email, to open a second PDF - but I’m forced to
> type again the password. It is not remembered.
>
> This is a nuisance, because my password is complex.
>
> I’m using XFCE under 13.1 at the moment. The problem is also present on
> 12.3.
>
> Suggestions?
>
> Do I need to activate some service for passwords to be remembered?
>
I opened two pdfs with evince which had same passwords and saved the
passwords.
I can now open the pdfs without entering the password. I think the
passwords are remembered on a document to document basis(based on
document name)

i.e. you need to save the pdfs with same name like aaa.pdf to use the
same password


GNOME 3.10.2
openSUSE 13.1 (Bottle) (x86_64) 64-bit
Kernel Linux 3.11.6-4-desktop

vazhavandan wrote:
> Carlos E. R. wrote:
>> Hi,
>>
>> I routinely receive password protected PDF files from my bank, via
>> email. In thunderbird I click on the document, which is opened via
>> default option (evince). I enter my password and select “remember
>> password until you logout”. The document opens.
>>
>> Then I click on another email, to open a second PDF - but I’m forced to
>> type again the password. It is not remembered.
>>
>> This is a nuisance, because my password is complex.
>>
>> I’m using XFCE under 13.1 at the moment. The problem is also present on
>> 12.3.
>>
>> Suggestions?
>>
>> Do I need to activate some service for passwords to be remembered?
>>
> I opened two pdfs with evince which had same passwords and saved the
> passwords.
> I can now open the pdfs without entering the password. I think the
> passwords are remembered on a document to document basis(based on
> document name)
>
> i.e. you need to save the pdfs with same name like aaa.pdf to use the
> same password
>
You can see in the below screenshot as to how the passwords are saved in
Seahorse

http://img.susepaste.org/view/raw/90087195


GNOME 3.10.2
openSUSE 13.1 (Bottle) (x86_64) 64-bit
Kernel Linux 3.11.6-4-desktop

On 2014-01-05 14:14, vazhavandan wrote:

> I opened two pdfs with evince which had same passwords and saved the passwords.
> I can now open the pdfs without entering the password. I think the passwords are remembered on a
> document to document basis(based on document name)
>
> i.e. you need to save the pdfs with same name like aaa.pdf to use the same password

Oh :frowning:

I can not do that. The PDFs are stored on emails. I would have to save them all to a folder
(doable), then create a script to open one after saving a copy to the same name always, then opening
that copy, not the original.

I have to find another reader that saves the password differently… but maybe you are right, the
password has to depend on the files.

Can someone please test with the kde PDF reader (okular?)?
This is a 13.1 test partition, and installing okular brings in 30 or so more packages from KDE
(which is not installed). I may test this perhaps tonight in 12.3, though.

If I could give the password as a command line option to some reader… :-?


Cheers / Saludos,

Carlos E. R.
(from 13.1 x86_64 “Bottle” (Elessar))

On 2014-01-05 14:33, vazhavandan wrote:
> You can see in the below screenshot as to how the passwords are saved in Seahorse
>
> http://img.susepaste.org/view/raw/90087195

Yes… it makes sense, of course. The password is associated to the file. Now that I think about it
this way, it is obvious.

The solution would be a CLI option to give the password.


Cheers / Saludos,

Carlos E. R.
(from 13.1 x86_64 “Bottle” (Elessar))

Carlos E. R. wrote:

> On 2014-01-05 14:33, vazhavandan wrote:
>> You can see in the below screenshot as to how the passwords are saved
>> in Seahorse
>>
>> http://img.susepaste.org/view/raw/90087195
>
> Yes… it makes sense, of course. The password is associated to the
> file. Now that I think about it this way, it is obvious.
>
> The solution would be a CLI option to give the password.
>


You could use pdftk as a cli app to remove passwords from the files.

*********** To reply by e-mail, make w single in address **************

I’m using Okular (0.18.0, KDE 4.12.0) to view my payslips which require a password. KWallet is in use as well, and the passwords are stored there (per document), but I am still prompted for a password every time I open the same document. (It was supposed to have been fixed back with KDE 4.11 IIRC)

On 2014-01-05 19:05, Ian Gay wrote:
> You could use pdftk as a cli app to remove passwords from the files.

Yes, I thought of that. I could try that if I can not reuse the same
password.


Cheers / Saludos,

Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)

On 2014-01-05 22:26, deano ferrari wrote:

> I’m using Okular (0.18.0, KDE 4.12.0) to view my payslips which require
> a password. KWallet is in use as well, and the passwords are stored
> there (per document), but I am still prompted for a password every time
> I open the same document. (It was supposed to have been fixed back with
> KDE 4.11 IIRC)

Too bad…


Cheers / Saludos,

Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)