Skip to content

Commit 38d8a9e

Browse files
committed
#74 Tell users about garbage collection now done as part of flush or uninstall
1 parent b0ddb51 commit 38d8a9e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

transcrypt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,8 @@ flush_credentials() {
538538

539539
if [[ $interactive ]]; then
540540
printf 'You are about to flush the local credentials; make sure you have saved them elsewhere.\n'
541-
printf 'All previously decrypted files will revert to their encrypted form.\n\n'
541+
printf 'All previously decrypted files will revert to their encrypted form, and your\n'
542+
printf 'repo will be garbage collected to remove any cached plaintext of secret files.\n\n'
542543
printf 'Proceed with credential flush? [y/N] '
543544
read -r answer
544545
printf '\n'
@@ -568,7 +569,8 @@ uninstall_transcrypt() {
568569

569570
if [[ $interactive ]]; then
570571
printf 'You are about to remove all transcrypt configuration from your repository.\n'
571-
printf 'All previously encrypted files will remain decrypted in this working copy.\n\n'
572+
printf 'All previously encrypted files will remain decrypted in this working copy, but your\n'
573+
printf 'repo will be garbage collected to remove any cached plaintext of secret files.\n\n'
572574
printf 'Proceed with uninstall? [y/N] '
573575
read -r answer
574576
printf '\n'

0 commit comments

Comments
 (0)