VDpup 9.2x: How to encrypt the pupsave file on a frugal install?

Moderators: dimkr, Forum moderators

Post Reply
Airdale
Posts: 81
Joined: Wed May 26, 2021 4:59 am
Has thanked: 6 times
Been thanked: 5 times

VDpup 9.2x: How to encrypt the pupsave file on a frugal install?

Post by Airdale »

This probably has been addressed somewhere else, but I have looked and was unable to find it. Is it possible to encrypt the pupsave file on a frugal install? I realized that on a full install OR a frugal install with a "save folder" that probably wouldn't be possible. But on a frugal install with a pupsave file it seems like that isn't an option either.

Its fine if that is not an option..... probably not a very widely used feature since most folks probably have either full installs or frugal installs with a save folder. I just wanted to make sure that I wasn't missing something or doing something wrong.

Thanks!

User avatar
bigpup
Moderator
Posts: 7297
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 950 times
Been thanked: 1614 times

Re: VDpup 9.2x encryption

Post by bigpup »

What kind of save did you make?
File or folder?

I think the save has to be a save file to be able to encrypt it.

When you made the save it should have offered to you option to encrypt or normal.

If you choose normal it will just be a normal save file.

If select encrypt, it will require the password you make to access the save file.

Are you just asking or do you really now want the save to be encrypted?

The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

Airdale
Posts: 81
Joined: Wed May 26, 2021 4:59 am
Has thanked: 6 times
Been thanked: 5 times

Re: VDpup 9.2x encryption

Post by Airdale »

bigpup wrote: Mon Jan 02, 2023 9:30 pm

What kind of save did you make?
File or folder?

I think the save has to be a save file to be able to encrypt it.

When you made the save it should have offered to you option to encrypt or normal.

If you choose normal it will just be a normal save file.

If select encrypt, it will require the password you make to access the save file.

Are you just asking or do you really now want the save to be encrypted?

First I did the save folder, but there was no option for encryption.
Then I tried making a save file, but still no option.

I'd like to encrypt it if possible, bit I didn't know if this have been changed from the more traditional puppies.

dimkr
Posts: 2479
Joined: Wed Dec 30, 2020 6:14 pm
Has thanked: 53 times
Been thanked: 1252 times

Re: VDpup 9.2x encryption

Post by dimkr »

Encrypted save file functionality is not available because cryptsetup is not preinstalled. Maybe it will work if you apt install cryptsetup-bin.

Airdale
Posts: 81
Joined: Wed May 26, 2021 4:59 am
Has thanked: 6 times
Been thanked: 5 times

Re: VDpup 9.2x encryption

Post by Airdale »

That did it. Now I get the option to encrypt when creating the save file.
Thanks!

Airdale
Posts: 81
Joined: Wed May 26, 2021 4:59 am
Has thanked: 6 times
Been thanked: 5 times

Re: VDpup 9.2x encryption

Post by Airdale »

Oh well....
Not so fast :)

I got the option to make an encrypted save file after installing cryptsetup.
However, when I tried to boot up the system and select that savefile there were errors.

I think it is because when I install cryptsetup, it actually gets saved to the savefile, of course.
So everything is good until the next boot up, when Dpup cant access the encypted save file.... because cryptsetup is inside the encrypted save file, not the sfs.

So I think I'm kind of stuck.... because any changes that I make will be saved in the save file not the main sfs,

dimkr
Posts: 2479
Joined: Wed Dec 30, 2020 6:14 pm
Has thanked: 53 times
Been thanked: 1252 times

Re: VDpup 9.2x encryption

Post by dimkr »

You can create a SFS which contains /sbin/cryptsetup and name it ydrv_vanilladpup_whatever.sfs. It will get auto-loaded.

Airdale
Posts: 81
Joined: Wed May 26, 2021 4:59 am
Has thanked: 6 times
Been thanked: 5 times

Re: VDpup 9.2x encryption

Post by Airdale »

dimkr wrote: Sat Jan 07, 2023 6:02 pm

You can create a SFS which contains /sbin/cryptsetup and name it ydrv_vanilladpup_whatever.sfs. It will get auto-loaded.

I tried that and it worked well. The yrdv sfs did indeed autoload and now it asks for the password for the save file on boot up now for the first time!

However, after entering the correct password I get an error message...

"You probably entered a wrong password. Or maybe the kernel doesn't properly support dm-encrypt"

So I guess there is more to it than just cryptsetup.

dimkr
Posts: 2479
Joined: Wed Dec 30, 2020 6:14 pm
Has thanked: 53 times
Been thanked: 1252 times

Re: VDpup 9.2x encryption

Post by dimkr »

This is probably due to differences in the cryptsetup version between initrd and /sbin.

Maybe you should try to put the static cryptsetup from https://github.com/puppylinux-woof-CE/i ... tic.tar.xz in /sbin - that's the one used to load the save file.

Airdale
Posts: 81
Joined: Wed May 26, 2021 4:59 am
Has thanked: 6 times
Been thanked: 5 times

Re: VDpup 9.2x encryption

Post by Airdale »

dimkr wrote: Sun Jan 08, 2023 8:57 am

This is probably due to differences in the cryptsetup version between initrd and /sbin.

Maybe you should try to put the static cryptsetup from https://github.com/puppylinux-woof-CE/i ... tic.tar.xz in /sbin - that's the one used to load the save file.

That worked perfectly!
Thanks so much for your help and pointing me in the right direction.

Post Reply

Return to “Vanilla Dpup”