~ubuntu-branches/ubuntu/lucid/ecryptfs-utils/lucid-proposed

« back to all changes in this revision

Viewing changes to src/desktop/ecryptfs-record-passphrase

  • Committer: Bazaar Package Importer
  • Author(s): Dustin Kirkland, David Planella, Yan Li, Dustin Kirkland
  • Date: 2010-02-17 15:17:09 UTC
  • mfrom: (1.1.28 upstream)
  • Revision ID: james.westby@ubuntu.com-20100217151709-ofjdq66ug82kk25a
Tags: 83-0ubuntu1
[ David Planella ]
* Makefile.am, configure.ac, debian/control, debian/po/POTFILES.sh,
  debian/po/ecryptfs-utils.pot, debian/po/fr.po, debian/rules,
  po/POTFILES.in, src/desktop/Makefile.am,
  src/desktop/ecryptfs-mount-private.desktop,
  src/desktop/ecryptfs-mount-private.desktop.in,
  src/desktop/ecryptfs-record-passphrase,
  src/desktop/ecryptfs-setup-private.desktop,
  src/desktop/ecryptfs-setup-private.desktop.in:
  - internationalization work for LP: #358283
* po/LINGUAS, po/ca.po: Catalan translation

[ Yan Li <yan.i.li@intel.com> ]
* src/pam_ecryptfs/pam_ecryptfs.c, src/utils/Makefile.am,
  src/utils/ecryptfs-migrate-home: add a script and pam hooks to
  support automatic migration to encrypted home directory

[ Dustin Kirkland ]
* src/utils/ecryptfs-migrate-home: clean up for merge
  - use $() rather than ``
  - drop set -u
  - use = and !=, and quote vars, rather than testing with -ne, -eq,
    for better shell portability
  - improve usage statement and error text
  - check if already encrypted
  - handle migration of multiple users on boot
  - fix all whitespace, use tabs for indents
  - use quotes around variables, rather than ${} (stylistic preference)
  - major simplification for immediate release
    + remove boot and user modes; only support administrator mode for
      security reasons and to avoid race conditions
    + other modes can be re-added, if necessary, and if security
      concerns can be addressed
  - ensure running as root
  - drop VERBOSE option, always print useful info messages
  - call the user $USER_NAME rather than $USER_ID since id implies
    number, and here we're deailing with names
  - no decimals on awk calculation
  - mktemp on the target user, not root
  - check that there is enough disk space available to do the migration
  - ensure the user's homedir group is correct
  - add critical instructions, user *must* login after the migration and
    before the reboot, as their wrapped passphrase will be cleared on
    reboot (possible we should use an init script to move these to
    /var/tmp on reboot)
  - ensure permissions are set correctly
  - improve text at the end of the migration, organize into notes
* ecryptfs-utils.ecryptfs-utils-restore.upstart,
  ecryptfs-utils.ecryptfs-utils-save.upstart, rules:
  - try to protect migrating users who don't login before the next reboot
* debian/ecryptfs-utils.install: install the locale messages
* src/desktop/ecryptfs-record-passphrase: improve dialog text
* src/desktop/ecryptfs-record-passphrase: revert the _ bit, as it's not quite
  working yet, will need to talk to David to fix
* Mark LP: #471725 as fixed

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
Name: Record your encryption passphrase
2
 
Name-de: Notieren Sie Ihr Verschlüsselungs-Passwort
3
2
Priority: High
4
3
OnlyAdminUsers: False
5
4
DisplayIf: test -e $HOME/.ecryptfs/wrapped-passphrase -a ! -e $HOME/.ecryptfs/.wrapped-passphrase.recorded
6
5
Terminal: True
 
6
GettextDomain: ecryptfs-utils
7
7
Command: "sh -c 'ecryptfs-unwrap-passphrase $HOME/.ecryptfs/wrapped-passphrase 2>/dev/null && echo [Enter] && head -n1 && touch $HOME/.ecryptfs/.wrapped-passphrase.recorded '"
8
8
Description: To encrypt your home directory or "Private" folder, a strong
9
 
 passphrase has been autogenerated. Usually your directory is unlocked
 
9
 passphrase has been automatically generated. Usually your directory is unlocked
10
10
 with your user password, but if you ever need to manually recover this
11
11
 directory, you will need this passphrase. Please print or write it down and
12
12
 store it in a safe location.
13
13
 .
14
 
 You can run the "ecryptfs-unwrap-passphrase" command now to do this. Enter
15
 
 your user password at the "Passphrase" prompt.
16
 
Description-de: Um Ihr Heimat- oder "Private"-Verzeichnis zu verschlüsseln,
17
 
 wurde automatisch ein starkes Passwort geniert. Normalerweise wird Ihr
18
 
 Verzeichnis mit Ihrem Benutzerpasswort freigegeben, aber wenn Sie jemals
19
 
 dieses Verzeichnis manuell wiederherstellen müssen, benötigen Sie dieses
20
 
 Passwort. Bitte drucken Sie es aus oder schreiben es auf und lagern es an
21
 
 einem sicheren Ort.
 
14
 If you click "Run this action now", enter your login password at the
 
15
 "Passphrase" prompt and you can display your randomly generated passphrase.
22
16
 .
23
 
 Sie können den "ecryptfs-unwrap-passphrase"-Befehl jetzt ausführen lassen.
24
 
 Geben Sie Ihr Benutzerpasswort bei der "Passphrase"-Aufforderung ein.
 
17
 Otherwise, you will need to run "ecryptfs-unwrap-passphrase" from the command
 
18
 line to retrive and record your generated passphrase.
 
19