Skip to content

Commit 8330f99

Browse files
DennisGaidasharevb
andauthored
feat(pdf-unlock): add password input for decryption (#326)
Add optional password input field to PDF unlock tool to properly decrypt password-protected PDFs using qpdf's --password parameter. And add password retry on encryption error --------- Co-authored-by: sharevb <sharevb@gmail.com>
1 parent 87f7604 commit 8330f99

19 files changed

Lines changed: 128 additions & 13 deletions

File tree

locales/ar.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3464,6 +3464,10 @@ tools:
34643464
title-drag-and-drop-a-pdf-file-here-or-click-to-select-a-file: اسحب وأفلِت ملف PDF هنا، أو انقر لتحديد ملف
34653465
title-logs: السجلات
34663466
label-qpdf: كيو بي دي إف
3467+
label-password: 'كلمة السر:'
3468+
placeholder-password: كلمة السر
3469+
tag-decrypt-pdf: فك تشفير PDF
3470+
tag-output-file: 'ملف الإخراج:'
34673471
pgp-encryption:
34683472
title: تشفير PGP
34693473
description: تشفير وفك تشفير النص العادي باستخدام مفاتيح PGP.

locales/da.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3403,6 +3403,10 @@ tools:
34033403
title-drag-and-drop-a-pdf-file-here-or-click-to-select-a-file: Træk og slip en PDF-fil hertil, eller klik for at vælge en fil
34043404
title-logs: Logfiler
34053405
label-qpdf: qpdf
3406+
label-password: 'Adgangskode:'
3407+
placeholder-password: Adgangskode
3408+
tag-decrypt-pdf: Dekrypter PDF
3409+
tag-output-file: 'Outputfil:'
34063410
pgp-encryption:
34073411
title: PGP-kryptering
34083412
description: Krypter og dekrypter tekst i klar tekst ved hjælp af PGP-nøgler.

locales/de.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3725,6 +3725,10 @@ tools:
37253725
auszuwählen
37263726
title-logs: Protokolle
37273727
label-qpdf: qpdf
3728+
label-password: 'Passwort:'
3729+
placeholder-password: Passwort
3730+
tag-decrypt-pdf: PDF entschlüsseln
3731+
tag-output-file: 'Ausgabedatei:'
37283732
pgp-encryption:
37293733
title: PGP-Verschlüsselung
37303734
description: Verschlüsseln und entschlüsseln Sie Klartext mit PGP-Schlüsseln.

locales/el.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3018,6 +3018,10 @@ tools:
30183018
αρχείο
30193019
title-logs: Αρχεία καταγραφής
30203020
label-qpdf: qpdf
3021+
label-password: 'Κωδικός πρόσβασης:'
3022+
placeholder-password: Κωδικός πρόσβασης
3023+
tag-decrypt-pdf: Αποκρυπτογραφία PDF
3024+
tag-output-file: 'Αρχείο εξόδου:'
30213025
pgp-encryption:
30223026
title: Κρυπτογράφηση PGP
30233027
description: Κρυπτογράφηση και αποκρυπτογράφηση κειμένου με χρήση κλειδιών PGP.

locales/en.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2948,6 +2948,10 @@ tools:
29482948
title-drag-and-drop-a-pdf-file-here-or-click-to-select-a-file: Drag and drop a PDF file here, or click to select a file
29492949
title-logs: Logs
29502950
label-qpdf: qpdf
2951+
label-password: 'Password:'
2952+
placeholder-password: Password
2953+
tag-decrypt-pdf: Decrypt PDF
2954+
tag-output-file: 'Output file:'
29512955
pgp-encryption:
29522956
title: PGP encryption
29532957
description: Encrypt and decrypt text clear text using PGP Keys.

locales/es.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2969,6 +2969,10 @@ tools:
29692969
archivo
29702970
title-logs: Registros
29712971
label-qpdf: qpdf
2972+
label-password: 'Contraseña:'
2973+
placeholder-password: Contraseña
2974+
tag-decrypt-pdf: Descifrar PDF
2975+
tag-output-file: 'Archivo de salida:'
29722976
pgp-encryption:
29732977
title: Cifrado PGP
29742978
description: Cifrar y descifrar texto sin cifrar utilizando claves PGP.

locales/fr.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2076,7 +2076,7 @@ tools:
20762076
label-pass-controls-the-order-for-filesystem-checks-at-boot:
20772077
"Passer (contrôle la commande pour les vérifications du système de
20782078
fichiers au démarrage):"
2079-
label-password: "Mot de passe :"
2079+
label-password: "Mot de passe:"
20802080
label-root-filesystem-first: Système de fichiers racine d'abord
20812081
label-username: "Nom d'utilisateur :"
20822082
placeholder-by-default-standard-mount-options-rw-suid-dev-exec-auto-nouser-async:
@@ -5038,6 +5038,10 @@ tools:
50385038
Faites glisser et déposez un fichier PDF ici, ou cliquez pour
50395039
sélectionner un fichier
50405040
title-logs: Bûches
5041+
label-password: 'Mot de passe :'
5042+
placeholder-password: Mot de passe
5043+
tag-decrypt-pdf: Déchiffrer le PDF
5044+
tag-output-file: 'Fichier de sortie :'
50415045
title: PDF décrypter et déverrouiller
50425046
percentage-calculator:
50435047
description: Calculez facilement les pourcentages d'une valeur à une autre

locales/ga.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3848,6 +3848,10 @@ tools:
38483848
title-drag-and-drop-a-pdf-file-here-or-click-to-select-a-file: Tarraing agus scaoil comhad PDF anseo, nó cliceáil chun comhad a roghnú
38493849
title-logs: Logaí
38503850
label-qpdf: qpdf
3851+
label-password: 'Pasfhocal:'
3852+
placeholder-password: Pasfhocal
3853+
tag-decrypt-pdf: Díchriptiú PDF
3854+
tag-output-file: 'Comhad aschur:'
38513855
pgp-encryption:
38523856
title: Criptiú PGP
38533857
description: Criptigh agus díchriptigh téacs soiléir ag baint úsáide as Eochracha PGP.

locales/it.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3490,6 +3490,10 @@ tools:
34903490
file
34913491
title-logs: Registri
34923492
label-qpdf: qpdf
3493+
label-password: 'Password:'
3494+
placeholder-password: Password
3495+
tag-decrypt-pdf: Decripta PDF
3496+
tag-output-file: 'File di output:'
34933497
pgp-encryption:
34943498
title: Crittografia PGP
34953499
description: Crittografa e decrittografa il testo in chiaro utilizzando le chiavi PGP.

locales/ko.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3223,6 +3223,10 @@ tools:
32233223
title-drag-and-drop-a-pdf-file-here-or-click-to-select-a-file: PDF 파일을 여기에 끌어다 놓거나 클릭하여 파일을 선택하세요.
32243224
title-logs: 로그
32253225
label-qpdf: qpdf
3226+
label-password: '비밀번호:'
3227+
placeholder-password: 비밀번호
3228+
tag-decrypt-pdf: PDF 복호화
3229+
tag-output-file: '출력 파일:'
32263230
pgp-encryption:
32273231
title: PGP 암호화
32283232
description: PGP 키를 사용하여 일반 텍스트를 암호화하고 해독합니다.

0 commit comments

Comments
 (0)