From Fedora Project Wiki

(remove a bit confusing lbrabec's comment, require partitions to be unlocked)
No edit summary
Line 8: Line 8:
# Make sure your disk <b>is</b> set to be encrypted
# Make sure your disk <b>is</b> set to be encrypted
# Select the appropriate disk, and continue installation, choosing all provided defaults
# Select the appropriate disk, and continue installation, choosing all provided defaults
# you can encrypt the whole disk before custom partitioning your disk
# or encrypt part of the disk (for example,/root) after custom partitioning your disk
# Continue installation with choosing all provided defaults
# After installation is complete, perform [[QA:Testcase_base_startup]] to ensure the installed system boots correctly with the encrypted partition
# After installation is complete, perform [[QA:Testcase_base_startup]] to ensure the installed system boots correctly with the encrypted partition
# Repeat the test, selecting a non-English keyboard map and entering a passphrase which would not be input the same on an English keyboard map
# Repeat the test, selecting a non-English keyboard map and entering a passphrase which would not be input the same on an English keyboard map

Revision as of 05:17, 17 January 2013

Description

This test case tests whether installing using encryption using the anaconda recommended defaults functions properly.

Other paths
Make sure to also test other installation paths, like QA:Testcase_Anaconda_custom_partitioning, QA:Testcase_Anaconda_autopart_(shrink)_install and others, with the encryption enabled.

Setup

  1. Start with a disk containing no partitions

How to test

  1. Boot the installer using any available means
  2. Make sure your disk is set to be encrypted
  3. Select the appropriate disk, and continue installation, choosing all provided defaults
  4. you can encrypt the whole disk before custom partitioning your disk
  5. or encrypt part of the disk (for example,/root) after custom partitioning your disk
  6. Continue installation with choosing all provided defaults
  7. After installation is complete, perform QA:Testcase_base_startup to ensure the installed system boots correctly with the encrypted partition
  8. Repeat the test, selecting a non-English keyboard map and entering a passphrase which would not be input the same on an English keyboard map
Some keyboard layouts might be problematic
Some keyboard layouts differ in graphical environment and in console. Therefore it might happen that the exact password used in Anaconda to encrypt the disk might not work in Plymouth to unlock the disk. That is documented in RHBZ #743281 and we currently have no solution for it. Hitting Pause key before entering the password to unlock the disk might help in some cases to switch to a correct layout, e.g. this helps for the Czech qwerty (cz-lat2) layout.

Expected Results

  1. The system should install successfully
  2. After install, the system initiates boot properly and partitions can be unlocked



Follow-up testing
Testing that the installed system boots correctly is part of QA:Testcase_base_startup. Please perform that test after this one in order to ensure the system correctly unlocks the encrypted partition on boot. Failures after the installation stage should be recorded as a failure in that test case, not this one.