summaryrefslogtreecommitdiffstats
path: root/tools/regression/geom_eli
Commit message (Collapse)AuthorAgeFilesLines
* Fix resize regressions tests - we need to destroy BSDlabel before we canpjd2011-10-251-0/+1
| | | | | | create GPT. MFC after: 3 days
* Correct message.pjd2010-09-271-1/+1
| | | | | Pointed out by: jhb MFC after: 2 weeks
* Add some regression tests for newly added -J and -j options.pjd2010-09-251-0/+126
| | | | MFC after: 2 weeks
* Don't hardcode md0 in message, use $md instead.pjd2010-09-251-1/+1
| | | | Reported by: Ronald Klop <ronald-freebsd8@klop.yi.org>
* Update regression tests after AES-XTS addition.pjd2010-09-257-21/+70
| | | | MFC after: 2 weeks
* - Use $md instead of md0, which fixes tests when md(4) device is alreadypjd2010-09-251-2/+2
| | | | | | | present. - Correct message - we create GPT, not MBR. MFC after: 2 weeks
* Add a geli resize subcommand to resize encrypted filesystems priorbrian2010-09-201-0/+149
| | | | | | | | | | | | | | | to growing the filesystem. Refuse to attach providers where the metadata provider size is wrong. This makes post-boot attaches behave consistently with pre-boot attaches. Also refuse to restore metadata to a provider of the wrong size without the new -f switch. The new -f switch forces the metadata restoration despite the provider size, and updates the provider size in the restored metadata to the correct value. Helped by: pjd Reviewed by: pjd
* By default backup geli metadata to a file. It is quite critical 512 bytes,pjd2008-08-2915-17/+123
| | | | | | | | | | | | | | | | | | | | | | | once it is lost, all data is gone. Option '-B none' can by used to prevent backup. Option '-B path' can be used to backup metadata to a different file than the default, which is /var/backups/<prov>.eli. The 'geli init' command also prints backup file location and gives short procedure how to restore metadata. The 'geli setkey' command now warns that even after passphrase change or keys update there could be version of the master key encrypted with old keys/passphrase in the backup file. Add regression tests to verify that new functionality works as expected. Update other regression tests so they don't create backup files. Reviewed by: keramida, rink Dedicated to: a friend who lost 400GB of his live by accidentally overwritting geli metadata MFC after: 2 weeks
* Hide geli warnings about sector size beeing bigger than the page size whenpjd2007-10-267-7/+7
| | | | doing regression testing.
* Add support for Camellia encryption algorithm.pjd2007-09-017-14/+21
| | | | | | PR: kern/113790 Submitted by: Yoshisato YANAGISAWA <yanagisawa@csg.is.titech.ac.jp> Approved by: re (bmah)
* Move readonly.t regression tests file to where it belongs.pjd2006-09-191-0/+93
| | | | I accidentally added it to a wrong directory.
* Add regression tests for 'geli configure' subcommand.pjd2006-09-161-0/+130
| | | | MFC after: 1 week
* Add regression tests for geli(8) authentication feature.pjd2006-06-065-0/+306
| | | | Supported by: Wheel Sp. z o.o. (http://www.wheel.pl)
* - Update regression tests after recent changes.pjd2006-06-062-65/+72
| | | | - Verify various sector sizes.
* For some time now, -i and -P options are mutually exclusive, there's evenpjd2006-05-011-1/+1
| | | | | | | a regression test init-i-P.t which asserts this, but it looks I forgot to update nokey.t regression test. MFC after: 1 day
* Add regression test which verifies that options -P and -i cannot be usedpjd2006-02-121-0/+22
| | | | | | together. MFC after: 3 days
* Add regression tests which will verify that giving no key components forpjd2006-02-011-0/+65
| | | | | | init/attach/setkey subcommands is really impossible. MFC after: 3 days
* Add regression tests (121 in total) for GEOM_ELI class.pjd2005-07-278-0/+607
To use them, run: # prove /usr/src/tools/regression/geom_eli Sponsored by: Wheel Sp. z o.o. http://www.wheel.pl MFC after: 1 week
OpenPOWER on IntegriCloud