wrap it with a new passphrase, and write it back to file.

       ecryptfs-rewrap-passphrase [file]

       printf "%s\n%s" "old wrapping passphrase" "new wrapping  passphrase"  |
       ecryptfs-rewrap-passphrase [file] -

       ecryptfs-rewrap-passphrase   is   a  utility  to  change  the  wrapping
       passphrase on a wrapped passphrase file.

       ecryptfs(7), ecryptfs-unwrap-passphrase(1), ecryptfs-wrap-passphrase(1)


       This manpage was written by Dustin Kirkland  <>  for
       Ubuntu  systems  (but may be used by others).  Permission is granted to
       copy, distribute and/or modify this document under the terms of the GNU
       General Public License, Version 2 or any later version published by the
       Free Software Foundation.

       On Debian and Ubuntu systems, the complete text of the GNU General Pub-
       lic License can be found in /usr/share/common-licenses/GPL.

ecryptfs-utils                    2008-07-21     ecryptfs-rewrap-passphrase(1)
Man Pages Copyright Respective Owners. Site Copyright (C) 1994 - 2019 Hurricane Electric. All Rights Reserved.