From 14cf930fe5ebf1f7519a2ebb742640e54f8aa28e Mon Sep 17 00:00:00 2001 From: Samuel Batista Date: Fri, 6 Jan 2023 17:52:31 -0500 Subject: [PATCH 1/3] Hide password hint when missing, decrypt on enter, and use password input type --- creator/secret-template.html | 592 +++++++++++++++++++---------------- 1 file changed, 314 insertions(+), 278 deletions(-) diff --git a/creator/secret-template.html b/creator/secret-template.html index dc36967..4ddf20c 100644 --- a/creator/secret-template.html +++ b/creator/secret-template.html @@ -1,278 +1,314 @@ - - - - - - - - - - -

This page contains a secret

-

Enter the password to decrypt it

-

Created with Portable Secret

- -

- This file contains a secret (message, file, or image) that can be recovered if you know the password.
- The secret can be decrypted without an internet connection, this file has no dependencies and no data leaves the browser window. -

- -
-

Password hint:

-
{{PASSWORD_HINT}}
-
- -
-

Password:

- -
- -
- - -
- - - - - - - -
- Details - - These are decryption inputs, that can be safely transmitted in the clear. - Without the correct password, they are useless. - -
- Salt: - -
- -
- IV: - -
- -
- Ciphertext:
- -
-
- - - + + + + + + + + + + + +

This page contains a secret

+

Enter the password to decrypt it

+

Created with Portable Secret

+ +

+ This file contains a secret (message, file, or image) that can be recovered if you know the password.
+ The secret can be decrypted without an internet connection, this file has no dependencies and no data leaves the + browser window. +

+ +
+

Password hint:

+
{{PASSWORD_HINT}}
+
+ +
+
+

+ Password +

+ ( +
+ + +
+ ): +
+ + +
+ +
+ + +
+ +
+ + + + + +
+ +
+ Details + + These are decryption inputs, that can be safely transmitted in the clear. + Without the correct password, they are useless. + +
+ Salt: + +
+ +
+ IV: + +
+ +
+ Ciphertext:
+ +
+
+ + + \ No newline at end of file From 75a2e769da4a21a01610afb07f2dbeae7deb202e Mon Sep 17 00:00:00 2001 From: Samuel Batista Date: Fri, 6 Jan 2023 17:54:34 -0500 Subject: [PATCH 2/3] Use LF for line endings --- creator/secret-template.html | 627 +++++++++++++++++------------------ 1 file changed, 313 insertions(+), 314 deletions(-) diff --git a/creator/secret-template.html b/creator/secret-template.html index 4ddf20c..144a12c 100644 --- a/creator/secret-template.html +++ b/creator/secret-template.html @@ -1,314 +1,313 @@ - - - - - - - - - - - -

This page contains a secret

-

Enter the password to decrypt it

-

Created with Portable Secret

- -

- This file contains a secret (message, file, or image) that can be recovered if you know the password.
- The secret can be decrypted without an internet connection, this file has no dependencies and no data leaves the - browser window. -

- -
-

Password hint:

-
{{PASSWORD_HINT}}
-
- -
-
-

- Password -

- ( -
- - -
- ): -
- - -
- -
- - -
- -
- - - - - -
- -
- Details - - These are decryption inputs, that can be safely transmitted in the clear. - Without the correct password, they are useless. - -
- Salt: - -
- -
- IV: - -
- -
- Ciphertext:
- -
-
- - - \ No newline at end of file + + + + + + + + + + +

This page contains a secret

+

Enter the password to decrypt it

+

Created with Portable Secret

+ +

+ This file contains a secret (message, file, or image) that can be recovered if you know the password.
+ The secret can be decrypted without an internet connection, this file has no dependencies and no data leaves the + browser window. +

+ +
+

Password hint:

+
{{PASSWORD_HINT}}
+
+ +
+
+

+ Password +

+ ( +
+ + +
+ ): +
+ + +
+ +
+ + +
+ +
+ + + + + +
+ +
+ Details + + These are decryption inputs, that can be safely transmitted in the clear. + Without the correct password, they are useless. + +
+ Salt: + +
+ +
+ IV: + +
+ +
+ Ciphertext:
+ +
+
+ + + From b7f08d6996cb004f31fdc36fe54723b86e82a6c0 Mon Sep 17 00:00:00 2001 From: Samuel Batista Date: Fri, 6 Jan 2023 17:56:16 -0500 Subject: [PATCH 3/3] Cleanup text --- creator/secret-template.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/creator/secret-template.html b/creator/secret-template.html index 144a12c..d5484cd 100644 --- a/creator/secret-template.html +++ b/creator/secret-template.html @@ -241,8 +241,7 @@

Created with Portable Se

This file contains a secret (message, file, or image) that can be recovered if you know the password.
- The secret can be decrypted without an internet connection, this file has no dependencies and no data leaves the - browser window. + The secret can be decrypted without an internet connection, this file has no dependencies and no data leaves the browser window.