Skip to content

Commit 70ee3e5

Browse files
authored
update ascii armored public key limit (#5028)
1 parent d674533 commit 70ee3e5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

extension/chrome/elements/add_pubkey.htm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ <h1>Add a public key to email address</h1>
3535
or paste below:
3636
</div>
3737
<div class="line">
38-
<textarea class="pubkey" placeholder="ASCII Armored Public Key" spellcheck="false" data-test="input-pubkey" maxlength="20000"></textarea>
38+
<textarea class="pubkey" placeholder="ASCII Armored Public Key" spellcheck="false" data-test="input-pubkey" maxlength="30000"></textarea>
3939
</div>
4040
<div class="line orange" id="manual-import-warning" data-test="manual-import-warning">
4141
Manually importing Public Keys can be dangerous <br>

extension/chrome/settings/modules/contacts.htm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ <h1></h1>
5555
<div class="line">
5656
<textarea class="input_pubkey"
5757
data-test="input-bulk-public-keys"
58-
placeholder="Enter one or more ASCII Armored Public Keys&#10;(including -----BEGIN PGP PUBLIC KEY BLOCK-----)&#10;&#10;You can alternatively enter the Public Key fingerprint or longid,&#10;e.g. 7FDE685548AEA788 or 0x7fde685548aea788" maxlength="20000"></textarea>
58+
placeholder="Enter one or more ASCII Armored Public Keys&#10;(including -----BEGIN PGP PUBLIC KEY BLOCK-----)&#10;&#10;You can alternatively enter the Public Key fingerprint or longid,&#10;e.g. 7FDE685548AEA788 or 0x7fde685548aea788" maxlength="30000"></textarea>
5959
</div>
6060
<div class="line">
6161
<button class="button green action_process long" data-test="action-show-parsed-public-keys">show contents</button>
@@ -72,7 +72,7 @@ <h1></h1>
7272

7373
<div id="edit_contact" style="display: none;">
7474
<div class="line">
75-
<textarea class="input_pubkey" data-test="input-public-key" placeholder="Enter a new Public Key for this contact" maxlength="20000"></textarea>
75+
<textarea class="input_pubkey" data-test="input-public-key" placeholder="Enter a new Public Key for this contact" maxlength="30000"></textarea>
7676
</div>
7777
<div class="line">
7878
<button class="button green action_save_edited_pubkey long" data-test="action-save-public-key">SAVE</button>

0 commit comments

Comments
 (0)