diff --git a/.gitignore b/.gitignore
index 8642510bb..2e423e1a3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,6 +1,23 @@
-bin/
-gen/
-.classpath
+#Android generated
+bin
+gen
+obj
+libs/armeabi
+lint.xml
+local.properties
+
+#Eclipse
.project
-.DS_Store
+.classpath
.settings
+
+#IntelliJ IDEA
+.idea
+*.iml
+
+#Maven
+target
+release.properties
+
+#Mac
+.DS_Store
\ No newline at end of file
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 645fbcc58..fc7625216 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -1,255 +1,227 @@
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-
-
+ android:versionCode="11000"
+ android:versionName="1.1" >
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
-
-
+
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/README.markdown b/README.markdown
new file mode 100644
index 000000000..de0737b97
--- /dev/null
+++ b/README.markdown
@@ -0,0 +1,21 @@
+# APG+
+
+This is a fork of Android Privacy Guard (APG) named APG+
+
+I will try to reintegrate the various forks and build a new stable version, which can be released to the market.
+
+# Build APG+
+
+# Build XZing Integration Library
+
+1. Checkout their SVN (see http://code.google.com/p/zxing/source/checkout)
+2. Change android-home variable in "build.properties" in the main directory to point to your Android SDK
+3. Change directory to android-integration
+4. Build using "ant build"
+5. We use "android-integration-supportv4.jar"
+
+On error see: http://code.google.com/p/zxing/issues/detail?id=1207
+
+# Build SpongyCastle
+
+see https://github.com/rtyley/spongycastle
\ No newline at end of file
diff --git a/build.xml b/build.xml
new file mode 100644
index 000000000..69ad53aa6
--- /dev/null
+++ b/build.xml
@@ -0,0 +1,85 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/lib/android-integration-supportv4.jar b/lib/android-integration-supportv4.jar
new file mode 100644
index 000000000..4a7f1a39c
Binary files /dev/null and b/lib/android-integration-supportv4.jar differ
diff --git a/lib/android-support-v4.jar b/lib/android-support-v4.jar
new file mode 100644
index 000000000..d006198e6
Binary files /dev/null and b/lib/android-support-v4.jar differ
diff --git a/lib/scprov-jdk15-1.46.99.3-UNOFFICIAL-ROBERTO-RELEASE.jar b/lib/scprov-jdk15-1.46.99.3-UNOFFICIAL-ROBERTO-RELEASE.jar
new file mode 100644
index 000000000..87c8669bb
Binary files /dev/null and b/lib/scprov-jdk15-1.46.99.3-UNOFFICIAL-ROBERTO-RELEASE.jar differ
diff --git a/project.properties b/project.properties
index f049142c1..8da376af8 100644
--- a/project.properties
+++ b/project.properties
@@ -8,4 +8,4 @@
# project structure.
# Project target.
-target=android-10
+target=android-15
diff --git a/res/values-da/strings.xml b/res/values-da/strings.xml
index b2f89302c..418372fb9 100644
--- a/res/values-da/strings.xml
+++ b/res/values-da/strings.xml
@@ -1,5 +1,6 @@
-
- APG
Mail Inbox
@@ -99,15 +99,14 @@
Kodeords Cache
Besked Komprimering
Fil Komprimering
-
Vælg
1 Valgt
Valgt
- <ukendt>
- <ingen>
- <ingen nøgle>
+ <ukendt>
+ <ingen>
+ <ingen nøgle>
-
- <udløber ikke>
+ <udløber ikke>
kan kryptere
kan signere
@@ -131,18 +130,15 @@
4 timer
8 timer
Indtil slut
-
DSA
ElGamal
RSA
-
Åbn...
Gem Som...
Vælg Fil Som Skal Krypteres...
Vælg Fil Som Skal Afkrypteres...
Åbn
Gem
-
Advarsel
Fejl
Advarsel: %s
@@ -185,8 +181,10 @@
NB: Kun undernøgler understøtter ElGamal, og for ELGamal vil den nærmeste nøglestørrelse - 1536, 2048, 3072, 4096, eller 8192 - blive brugt.
Kunne ikke finde %08X nøglen.
-
+
\'%s\' kunne ikke slettes
filen findes ikke
ingen egnet privat nøgle fundet
@@ -256,9 +254,8 @@
Afkryptér
Importér Offentlige Nøgler
Importér Private Nøgler
-
Søg I Offentlige Nøgler
Søg I Private Nøgler
Filter: \"%s\"
-
+
\ No newline at end of file
diff --git a/res/values-de/strings.xml b/res/values-de/strings.xml
index d2de45eb3..732d58b0a 100644
--- a/res/values-de/strings.xml
+++ b/res/values-de/strings.xml
@@ -1,5 +1,6 @@
-
- APG
Posteingang
@@ -102,19 +102,16 @@
Passwort-Cache
Nachrichten-Kompression
Datei-Kompression
-
Auswählen
1 ausgewählt
Ausgewählt
- <Unbekannt>
-
- <Kein>
- <Kein Schlüssel>
+ <Unbekannt>
+ <Kein>
+ <Kein Schlüssel>
-
- <Kein Verfallsdatum>
+ <Kein Verfallsdatum>
Kann verschlüsseln
-
Kann signieren
Verfallen
Ungültig
@@ -122,7 +119,6 @@
Keine Auswahl
Nur signieren
-
Nur verschlüsseln
Signieren und verschlüsseln
15 Sek.
@@ -137,18 +133,15 @@
4 Std.
8 Std.
Bis Programmende
-
DSA
ElGamal
RSA
-
Öffnen ...
Speichern unter ...
Zu entschlüsselnde Datei wählen ...
Zu verschlüsselnde Datei wählen ...
Öffnen
Speichern
-
Achtung
Fehler
Achtung: %s
@@ -156,7 +149,6 @@
Falsches Passwort.
-
Zwischenablage wird verwendet.
Schlüssel gespeichert.
Zuerst Passwort festlegen.
@@ -169,65 +161,58 @@
Erfolgreich gelöscht.
Zuerst eine Datei auswählen.
Entschlüsselung erfolgreich.
-
Verschlüsselung erfolgreich.
Verschlüsselung in die Zwischenablage erfolgreich.
Passwort bitte zwei Mal eingeben.
Bitte mindestens einen Schlüssel zur Verschlüsselung auswählen.
Bitte mindestens einen Schlüssel zur Verschlüsselung oder zum Signieren auswählen.
Bitte Zieldatei für Verschlüsselung angeben.\nACHTUNG! Vorhandene Datei gleichen Namens wird überschrieben.
-
Bitte Zieldatei für Entschlüsselung angeben.\nACHTUNG! Vorhandene Datei gleichen Namens wird überschrieben.
Bitte Google-Mail-Konto angeben, das hinzugefügt werden soll.
Bitte Datei angeben, aus der Schlüssel importiert werden sollen. (.asc oder .gpg)
Bitte Zieldatei zum Export angeben.\nACHTUNG! Vorhandene Datei gleichen Namens wird überschrieben.
Bitte Zieldatei zum Export angeben.\nACHTUNG! Es sollen private Schlüssel exportiert werden.\nACHTUNG! Vorhandene Datei gleichen Namens wird überschrieben.
Soll der Schlüssel \'%s\' wirklich gelöscht werden?\nDiese Aktion lässt sich nicht rückgängig machen!
-
Soll der PRIVATE Schlüssel \'%s\' wirklich gelöscht werden?\nDiese Aktion lässt sich nicht rückgängig machen!
Erfolgreich %1$s Schlüssel hinzugefügt und %2$s Schlüssel aktualisiert.
Erfolgreich %s Schlüssel hinzugefügt.
Erfolgreich %s Schlüssel aktualisiert.
Keine Schlüssel hinzugefügt oder aktualisiert.
Erfolgreich 1 Schlüssel exportiert.
-
Erfolgreich %s Schlüssel exportiert.
Kein Schlüssel exportiert.
Hinweis: Nur Subschlüssel unterstützen ElGamal, und für ElGamal wird die nächstmögliche Schlüssellänge 1536, 2048, 3072, 4096 oder 8192 genutzt.
Es konnte kein Schlüssel %08X gefunden werden.
-
+
Löschen von \'%s\' fehlgeschlagen
-
Datei nicht gefunden
Kein geeigneter privater Schlüssel gefunden
Keine bekannte Verschlüsselungsmethode gefunden
Externer Speicher nicht bereit
Konto \'%s\' nicht gefunden
Hinzufügen von Konto \'%s\' fehlgeschlagen
-
Ungültige E-Mail \'%s\'
Schlüssellänge von mindestens 512bit erforderlich
Primärschlüssel darf kein ElGamal-Schlüssel sein
Unbekannter Algorithmus ausgewählt
Angabe eines Namens erforderlich
Angabe einer E-Mail-Adresse erforderlich
-
Mindestens eine Benutzer-ID erforderlich
Haupt-Benutzer-ID darf nicht leer bleiben
Mindestens ein Primärschlüssel erforderlich
Verfallsdatum muss später als Erstellungsdatum liegen
Kein(e) Schlüssel oder Passwort zur Verschlüsselung angegeben
Signieren fehlgeschlagen
-
Kein Passwort angegeben
Kein Schlüssel zum Signieren angegeben
Keine gültigen Verschlüsselungsdaten
Daten nicht lesbar
Kein Paket mit symmetrischer Verschlüsselung gefunden
Falsches Passwort
-
Fehler beim Abspeichern eines oder mehrerer Schlüssel
@@ -235,35 +220,30 @@
Initialisierung ...
Speicherung ...
Import ...
-
Export ...
Schlüssel wird erzeugt, dies kann eine Weile dauern ...
Schlüssel wird erstellt ...
Primärschlüssel wird vorbereitet ...
Primärschlüssel wird zertifiziert ...
Primärschlüsselbund wird erstellt ...
-
Unterschlüssel werden hinzugefügt ...
Schlüsselbund wird gespeichert ...
Private Schlüssel werden importiert ...
Öffentliche Schlüssel werden importiert ...
Schlüssel werden neu geladen ...
Schlüssel wird exportiert ...
-
Schlüssel werden exportiert ...
Signaturschlüssel wird extrahiert ...
Schlüssel wird extrahiert ...
Daten werden vorbereitet ...
Daten werden verschlüsselt ...
Daten werden entschlüsselt ...
-
Signatur wird vorbereitet ...
Signatur wird erzeugt ...
Signatur wird verarbeitet...
Signatur wird verifiziert ...
Signieren ...
Daten werden gelesen ...
-
Schlüssel wird gesucht ...
Daten werden dekomprimiert ...
Integrität wird verifiziert ...
@@ -278,7 +258,6 @@
Öffentliche Schlüssel importieren
Private Schlüssel importieren
Öffentliche Schlüssel suchen
-
Private Schlüssel suchen
Filter: \"%s\"
@@ -287,4 +266,4 @@
langsam
sehr langsam
-
+
\ No newline at end of file
diff --git a/res/values-es/strings.xml b/res/values-es/strings.xml
index 54ebfa3d8..a2faf56d9 100644
--- a/res/values-es/strings.xml
+++ b/res/values-es/strings.xml
@@ -1,5 +1,6 @@
-
- APG
Bandeja de Entrada
@@ -123,15 +123,14 @@
Nombre
Comentario
Email
-
Seleccionar
1 Seleccionada
Seleccionada
- <desconocido>
- <ninguno>
- <sin llave>
+ <desconocido>
+ <ninguno>
+ <sin llave>
-
- <no expira>
+ <no expira>
puede cifrar
puede firmar
@@ -153,18 +152,15 @@
40 mins
hasta salir
Sistema por defecto
-
DSA
ElGamal
RSA
-
Abrir...
Guardar Como...
Seleccionar Fichero Para Cifrar...
Seleccionar Fichero Para Descifrar...
Abrir
Guardar
-
Advertencia
Error
Advertencia: %s
@@ -210,8 +206,10 @@
Firma desconocida, pulsa para buscarla.
Edición de llaves aún en fase beta.
-
+
borrado de \'%s\' fallido
no se encontró el fichero
no se encontró la llave secreta adecuada
@@ -285,7 +283,6 @@
Descifrar
Importar Llaves Públicas
Importar Llaves Privadas
-
Buscar Llaves Públicas
Buscar Llaves Privadas
Filtro: \"%s\"
@@ -297,12 +294,10 @@
- Puedes instalar K-9 Mail para una mejor integración, soporta APG para PGP de forma nativa y permite difrar/descifrar mensajes directamente.
+ uedes instalar K-9 Mail para una mejor integración, soporta APG para PGP de forma nativa y permite difrar/descifrar mensajes directamente.
\n\nSe recomienda instalar OI File Manager o ASTRO para poder usar el botón de navegación para seleccioar ficheros en APG.
\n\nPrimero necesitarás algunas llaves. Puedes importarlas mediante los menús de opciones en \"Administrar Llaves Públicas\" y \"Administrar Llaves Privadas\" o crearlas mediante \"Administrar Llaves Privadas\".
\n\nTambién puedes añadir una cuenta GMail como actividad principal mediante \"Añadir Cuenta\", lo que simplifica el descifrado de mensajes recibidos en esa cuenta.
-\n\nDale un vistazo a los menús de opciones para encontrar más funciones.
-
-
-
+\n\nDale un vistazo a los menús de opciones para encontrar más funciones.
+
\ No newline at end of file
diff --git a/res/values-it/strings.xml b/res/values-it/strings.xml
index e6f286de5..21a6d3486 100644
--- a/res/values-it/strings.xml
+++ b/res/values-it/strings.xml
@@ -1,5 +1,6 @@
-
- APG
Posta in arrivo
@@ -126,15 +126,14 @@
Nome
Commento
Email
-
Seleziona
1 Selezionato
Selezionato
- <sconosciuto>
- <nessuno>
- <nessuna chiave>
+ <sconosciuto>
+ <nessuno>
+ <nessuna chiave>
-
- <nessuna scadenza>
+ <nessuna scadenza>
crittazione consentita
firma consentita
@@ -161,18 +160,15 @@
8 ore
tutta la sessione
Default di sistema
-
DSA
ElGamal
RSA
-
Apri...
Salva con nome...
Seleziona il file da crittare...
Seleziona il file da decrittare...
Apri
Salva
-
Attenzione
Errore
Attenzione: %s
@@ -220,8 +216,10 @@
%s chiavi segrete ignorate. Se hai esportato le chiavi con l\'opzione\n --export-secret-subkeys\nprovare ad utilizzare il parametro\n --export-secret-keys\n.
La chiave %s è sconosciuta; si desidera provare a cercarla su un keyserver?
-
+
cancellazione di \'%s\' fallita
file non trovato
non è stata trovata nessuna chiave privata utilizzabile
@@ -296,7 +294,6 @@
Decritta
Importa Chiavi Pubbliche
Importa Chiavi Private
-
Cerca Chiavi Pubbliche
Cerca Chiavi Private
Filtra: \"%s\"
@@ -308,12 +305,10 @@
- Per una migliore integrazione, si consiglia di installare K-9 Mail; questo applicativo supporta infatti APG e consente di crittare/decrittare direttamente le mail.
+ er una migliore integrazione, si consiglia di installare K-9 Mail; questo applicativo supporta infatti APG e consente di crittare/decrittare direttamente le mail.
\n\nPer poter utilizzare il bottone \"sfoglia\" per la selezione dei file su APG, si consiglia di installare OI File Manager oppure ASTRO.
\n\nCome prima cosa, è necessario disporre di una o più chiavi. E\' possibile importare chiavi esistenti tramite l\'opzione \"Manage Public Keys\" e \"Manage Secret Keys\", oppure crearne una nuova tramite l\'opzione \"Manage Secret Keys\".
\n\nE\' possibile aggiungere un account GMail tramite l\'opzione \"Aggiungi Acconto GMail\"; questo semplifica il processo di decrittaggio delle mail ricevute sulla propria casella di posta su GMail.
-\n\nProva e controlla le opzioni dei vari menù per esplorare e conoscere tutte le funzionalità di APG.
-
-
-
+\n\nProva e controlla le opzioni dei vari menù per esplorare e conoscere tutte le funzionalità di APG.
+
\ No newline at end of file
diff --git a/res/values-no/strings.xml b/res/values-no/strings.xml
index c40f53883..825701f38 100644
--- a/res/values-no/strings.xml
+++ b/res/values-no/strings.xml
@@ -1,5 +1,6 @@
-
- APG
Epost innboks
@@ -130,15 +129,14 @@
Navn
Kommentar
Epost
-
Velg
1 Valgt
Valgt
- <ukjent>
- <ingen>
- <ingen nøkkel>
+ <ukjent>
+ <ingen>
+ <ingen nøkkel>
-
- <utløper ikke>
+ <utløper ikke>
kan kryptere
kan signere
@@ -164,18 +162,15 @@
8 timer
til avsluttning
System
-
DSA
ElGamal
RSA
-
Åpne...
Lagre Som...
Velg Fil Som Skal Krypteres...
Velg Fil Som Skal Dekrypteres...
Åpne
Lagre
-
Advarsel
Feil
Advarsel: %s
@@ -221,8 +216,10 @@
Ukjent signatur, trykk for å sjekke nøkkel.
Nøkkelredigering er enda beta.
-
+
sletting \'%s\' mislyktes
finner ikke fil
finner ingen passende hemmelig nøkkel
@@ -296,7 +293,6 @@
Dekrypter
Importer Offentlige Nøkler
Importer Private Nøkler
-
Søk I Offentlige Nøkler
Søk I Private Nøkler
Filter: \"%s\"
@@ -309,11 +305,9 @@
Installer K-9 Mail for den beste integrasjonen, det støtter APG for PGP/INLINE og lar deg kryptere/dekryptere epost direkte.
-\n\nDet er anbefalt at du installerer OI File Manager eller ASTRO for å kunne velge filer igjennom APG, med manuelt søk.
+\n\nDet er anbefalt at du installerer OI File Manager eller ASTRO for å kunne velge filer igjennom APG, med manuelt søk.
\n\nFørst trenger du noen nøkler. Du kan enten importere dem via menyene i \"Håndter Offentlige Nøkler\" og \"Håndter Private Nøkler\" eller lage dem selv i \"Håndter Private Nøkler\".
\n\nDu kan også legge til en GMail-konto i hovedmenyen via \"Legg Til Konto\", noe som forenkler dekryptering av epost mottatt der.
-\n\nSjekk menyene under de forskjellige aktivitetene for å finne flere funksjoner.
-
-
-
+\n\nSjekk menyene under de forskjellige aktivitetene for å finne flere funksjoner.
+
\ No newline at end of file
diff --git a/res/values-pt/strings.xml b/res/values-pt/strings.xml
index f64e123c2..76e0cb244 100644
--- a/res/values-pt/strings.xml
+++ b/res/values-pt/strings.xml
@@ -1,5 +1,6 @@
-
- APG
Caixa de Entrada
Gerir Chaves Públicas
Gerir Chaves Privadas
-
Escolher Destinatários
Escolher Assinatura
Cifrar
Decifrar
Senha
Criar Chave
-
Editar Chave
Preferências
Preferências de Servidor de Chaves
Alterar Senha
Definir Senha
"Enviar Email..."
-
Cifrar Para Arquivo
Descifrar Para Arquivo
Adicionar Conta
Importar Chaves
Exportar Chave
Exportar Chaves
-
Chave Não Encontrada
Conhecendo
Busca no Servidor de Chaves
@@ -50,7 +46,6 @@
IDs de Usuários
-
Chaves
Geral
Padrões
@@ -58,28 +53,24 @@
Assinar Para Clipboard
-
Cifrar Para Clipboard
Cifrar Para Email
Assinar Para Email
Cifrar
Assinar
Decifrar
-
Verificar
Escolher Destinatários
Responder
Cifrar Mensagem
Decifrar Mesagem
Cifrar Arquivo
-
Decifrar Arquivo
Salvar
Cancelar
Apagar
Nenhuma
Limpar Filtro
-
Alterar Senha
Definir Senha
Buscar
@@ -87,21 +78,18 @@
Sobre
Adicionar Conta GMail
-
Apagar Conta
Gerir Chaves Públicas
Gerir Chaves Privadas
Configurações
Importar Chaves
Exportar Chaves
-
Exportar Chave
Apagar Chave
Criar Chave
Editar Chave
Buscar
Ajuda
-
Servidor de Chaves
Atualizar
@@ -109,50 +97,42 @@
Assinar
Mensagem
Arquivo
-
Senha
Novamente
Algoritmo
Armadura ASCII
Chave(s) Pública(s)
Apagar Após Cifrar
-
Apagar Após Decifrar
Apagar Após Importar
Algoritmo de Cifragem
Algoritmo de Hash
Chave Pública
Senha
-
Cache de Senhas
Compressão de Mensagem
Compressão de Arquivo
Língua
Forçar Assinaturas V3
Servidores de Chave
-
ID da Chave
Criação
Expiração
Uso
Tamanho da Chave
ID do Usuário Principal
-
Nome
Comentário
Email
-
Selecionar
1 Selecionada
Selecionada
-
- <desconhecido>
- <ninguém>
- <sem chave>
+ <desconhecido>
+ <ninguém>
+ <sem chave>
-
- <não expira>
+ <não expira>
-
pode cifrar
pode assinar
expirada
@@ -166,36 +146,29 @@
Cifrar apenas
Assinar e Cifrar
15 segs
-
1 min
3 mins
5 mins
10 mins
20 mins
40 mins
-
1 hora
2 horas
4 horas
8 horas
até sair
Padrões do sistema
-
DSA
ElGamal
RSA
-
Abrir...
Salvar Como...
-
Selecionar Arquivo para Cifrar...
Selecionar Arquivo para Decifrar...
Abrir
Salvar
-
Advertência
Erro
-
Advertência: %s
Erro: %s
@@ -203,87 +176,75 @@
Chave errada.
Usando conteúdo do clipboard.
Chave salva.
-
Defina uma senha antes.
Não há gerenciador de arquivos compatível instalado.
A senha não confere.
Não são permitidas senhas vazias.
Cifragem simétrica.
%s
-
Tem certeza que deseja apagar\n%s?
Apagado com sucesso.
Selecione um arquivo primeiro.
Decifrado com sucesso.
Cifrado com sucesso.
Cifrado para clipboard com sucesso.
-
Insira a senha duas vezes.
Selecione pelo menos uma chave de cifragem.
Selecione pelo menos uma chave de cifragem ou uma chave de assinatura.
Especifique o arquivo a cifrar sobre.\nATENÇÃO! O arquivo, se existir, será sobrescrito!
Especifique o arquivo a decifrar sobre.\nATENÇÃO! O arquivo, se existir, será sobrescrito!
Especifique a conta de Email do Google que deseja adicionar.
-
Especifique o arquivo para importação de chaves. (.asc or .gpg)
-
Especifique o arquivo de exportação.\nATENÇÃO! O arquivo, se existir, será sobrescrito!
Especifique o arquivo de exportação.\nATENÇÃO! Você está exportando suas chaves PRIVADAS (SECRETAS).\nATENÇÃO! O arquivo, se existir, será sobrescrito.
Você realmente deseja apagar a chave \'%s\'?\nEssa ação não pode ser desfeita!
Você realmente deseja apagar a chave PRIVADA \'%s\'?\nEssa ação não pode ser desfeita!
Adicionada(s) com sucesso %1$s chave(s) e atualizada(s) %2$s chave(s).
-
Adicionada(s) %s chave(s) com sucesso.
Atualizada(s) %s chaves(s) com sucesso.
Nenhuma chave adicionada ou atualizada.
1 chave exportada com sucesso.
%s chaves exportadas com sucesso.
Nenhuma chave exportada.
-
Nota: apenas as sub-chaves suportam ElGamal, e para ElGamal se usuára o tamanho mais próximo a 1536, 2048, 3072, 4096, ou 8192.
Não se pode encontrar a chave %08X.
%s chave(s) encontrada(s).
Assinatura desconhecida, toque para buscar a chave.
A edição de chaves ainda está na versão beta.
-
-
%s chave(s) secreta(s) ignoradas. Provavelmente foram exportadas com a opção\n --export-secret-subkeys\nCertifique-se de exporta com a opção\n --export-secret-keys
Chave %s desconhecida, você gostaria de procurá-la em um servidor de chaves?
-
+
erro ao apagar \'%s\'
arquivo não encontrado
não foi encontrado uma chave secreta adequada
-
não foi encontrado tipo de cifragem conhecido
armazenamento externo não disponível
conta \'%s\' não encontrada
sem permissões para ler a conta
falha ao adicionar a conta \'%s\'
email inválido \'%s\'
-
o tamanho da chave deve ser pelo menos 512bit
a chave primária não pode ser do tipo ElGamal
algoritmo selecionado desconhecido
é necessário informar um nome
é necessário informar um endereço de email
é necessário pelo menos um id de usuário
-
id de usuário principal não pode ser vazio
é necessário pelo menos uma chave primária
data de expiração deve ser após a data de criação
não foram inseridos chave(s) de cifragem ou senha
falha na assinatura
senha não inserida
-
chave para assinatura não inserida
dados a serem cifrados inválidos
dados corrompidos
não foi encontrado um pacote com criptografia simétrica
senha inválida
erro ao salvar chave(s)
-
não foi possível extrair chave privada
@@ -291,35 +252,30 @@
inicializando...
salvando...
importando...
-
exportando...
criando chave, isso pode demorar um pouco...
criando chave...
preparando chave primária...
certificando chave primária...
criando anel de chave primária...
-
adicionando sub-chaves...
salvando anel de chaves...
importando chaves secretas...
importando chaves públicas...
recarregando chaves...
exportando chave...
-
exportando chaves...
extraindo chave de assinatura...
extraindo chave...
preparando fluxos...
cifrando dados...
decifrando dados...
-
preparando assinatura...
gerando assinatura...
processando assinatura...
verificando assinatura...
assinando...
carregando dados...
-
buscando chave...
descompactando dados...
verificando integridade...
@@ -334,10 +290,8 @@
Cifrar
Decifrar
-
Importar Chaves Públicas
Importar Chaves Privadas
-
Buscar Chaves Públicas
Buscar Chaves Privadas
Filter: \"%s\"
@@ -349,13 +303,10 @@
-
-
- Instale o leitor de emails K-9 para uma melhor integração. Ele suporta o APG para PGP/INLINE e permite cifragem e decifragem de emails diretamente.
+ Instale o leitor de emails K-9 para uma melhor integração. Ele suporta o APG para PGP/INLINE e permite cifragem e decifragem de emails diretamente.
\n\nÉ recomendado o uso dos Gerenciadores de Arquivos OI ou ASTRO para ser possível a utilização do botão de buscar arquivos no APG.
\n\nSão necessárias chaves para o APG. Importe-as pela opção do menu \"Gerir Chaves Públicas\" ou \"Gerir Chaves Privadas\" ou crie-as no menu \"Gerir Chaves Privadas\".
\n\nVocê também pode adicionar uma conta GMail pela opção \"Adicionar Conta\", isso simplifica a decifragem de emails.
-\n\nVerifique as opções de menus para conhecer as funcionalides disponíveis.
-
+\n\nVerifique as opções de menus para conhecer as funcionalides disponíveis.
-
+
\ No newline at end of file
diff --git a/res/values-sl/strings.xml b/res/values-sl/strings.xml
index 5c6c4b84e..576d6e56b 100644
--- a/res/values-sl/strings.xml
+++ b/res/values-sl/strings.xml
@@ -1,5 +1,6 @@
-
- APG
Poštni nabiralnik
@@ -125,15 +125,14 @@
Ime
Komentar
E-pošta
-
Izberi
1 izbran
Izbrani
- <nepoznan>
- <brez>
- <brez ključa>
+ <nepoznan>
+ <brez>
+ <brez ključa>
-
- <nikoli>
+ <nikoli>
lahko šifrira
lahko podpiše
@@ -155,18 +154,15 @@
40 min
do izhoda
Sistemsko nastavljeno
-
DSA
ElGamal
RSA
-
Odpri...
Shrani kot...
Izberi datoteko za šifriranje...
Izberi datoteko za dešifriranje...
Odpri
Shrani
-
Opozorilo
Napaka
Opozorilo: %s
@@ -212,8 +208,10 @@
Neznan podpis, za ogled pritisni.
Urejanje ključev je še vedno v precej testni fazi.
-
+
izbris \'%s\' ni uspel
ne najdem datoteke
najden ni bil noben ustrezen zasebni kluč
@@ -286,7 +284,6 @@
Dešifriraj
Uvozi javne ključe
Uvozi zasebne ključe
-
Poišči javne ključe
Poišči zasebne ključe
Filter: \"%s\"
@@ -298,11 +295,10 @@
- Za boljšo integracijo namestite program K-9 Mail, ki omogoča način PGP/INLINE in neposredno šifriranje/dešifriranje e-pošte.
+ Za boljšo integracijo namestite program K-9 Mail, ki omogoča način PGP/INLINE in neposredno šifriranje/dešifriranje e-pošte.
\n\nZaželjeno je, da namestite programa OI File Manager ali ASTRO, ki omogočata iskanje, izbiro in vnos datotek v APG.
\n\nZa začetek potrebujete nekaj ključev. Lahko jih uvozite s klikom na menija \"Upravljanje javnih ključev\" in \"Upravljanje zasebnih ključev\" ali jih ustvarite v meniju \"Upravljanje zasebnih ključev\".
\n\nPreko menija \"Dodaj račun\" lahko dodate vaše GMail račune in tako poenostavite dešifriranje e-pošte prejete nanje.
- \n\nDa bi odkrili dodatne funkcije in zmožnosti programa APG, se sprehodite skozi njegove menije.
-
+ \n\nDa bi odkrili dodatne funkcije in zmožnosti programa APG, se sprehodite skozi njegove menije.
-
+
\ No newline at end of file
diff --git a/res/values-zh/strings.xml b/res/values-zh/strings.xml
index 430825791..1e34829a7 100644
--- a/res/values-zh/strings.xml
+++ b/res/values-zh/strings.xml
@@ -1,5 +1,6 @@
-
- APG
收件箱
@@ -126,15 +126,14 @@
姓名
注释
电子邮件
-
选择
1个选定
个选定
- <未知>
- <无>
- <无密钥>
+ <未知>
+ <无>
+ <无密钥>
-
- <不过期>
+ <不过期>
可以加密
可以签名
@@ -157,18 +156,15 @@
60 分钟
直到退出
系统默认
-
DSA
ElGamal
RSA
-
打开...
另存为...
选择要加密的文件...
选择要解密的文件...
打开
保存
-
警告
错误
警告: %s
@@ -216,8 +212,10 @@
忽略 %s 个错误的密钥. 或许导出时你使用了\n --export-secret-subkeys\n请确保使用\n --export-secret-keys\n代替前者.
未知密钥 %s, 是否需要在密钥服务器上查找?
-
+
删除 \'%s\' 失败
文件没有找到
未发现合适的私钥
@@ -292,7 +290,6 @@
解密
导入公钥
导入私钥
-
搜索公钥
搜索私钥
过滤信息: \"%s\"
@@ -304,11 +301,10 @@
- 安装 K-9 Mail 以便达到最好的集成, K9支持APG处理PGP/INLINE并让你直接加密或解密邮件.
+ 装 K-9 Mail 以便达到最好的集成, K9支持APG处理PGP/INLINE并让你直接加密或解密邮件.
\n\n建议安装 OI File Manager 或 ASTRO 以便在APG中浏览文件夹.
\n\n首先你需要一些密钥. 可以通过菜单 \"管理公钥\" 和 \"管理私钥\" 来导入, 或者在菜单 \"管理私钥\" 中创建.
\n\n你也可以通过菜单 \"添加账户\" 来添加GMail账户, 这样可以简化解密那些账户中邮件的过程.
-\n\n可以通过查看选项菜单寻找更多的功能.
-
+\n\n可以通过查看选项菜单寻找更多的功能.
-
+
\ No newline at end of file
diff --git a/res/values/static_strings.xml b/res/values/static_strings.xml
new file mode 100644
index 000000000..41adbfad7
--- /dev/null
+++ b/res/values/static_strings.xml
@@ -0,0 +1,6 @@
+
+
+
+ APG Plus
+
+
\ No newline at end of file
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 68233ff80..2e6386182 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -1,5 +1,6 @@
-
- APG
Mail Inbox
@@ -133,15 +133,14 @@
Comment
Email
Send Key to Server?
-
Select
1 Selected
Selected
- <unknown>
- <none>
- <no key>
+ <unknown>
+ <none>
+ <no key>
-
- <no expiry>
+ <no expiry>
can encrypt
can sign
@@ -168,18 +167,15 @@
8 hours
until quit
System default
-
DSA
ElGamal
RSA
-
Open...
Save As...
Select File To Encrypt...
Select File To Decrypt...
Open
Save
-
Warning
Error
Warning: %s
@@ -230,8 +226,10 @@
Successfully signed key
Successfully validated and imported key
-
+
deleting \'%s\' failed
file not found
no suitable secret key found
@@ -300,15 +298,14 @@
Read key details from APG.
Read key details of public and secret keys stored in APG, such as key ID and user IDs. The keys themselves can NOT be read.
- Store blobs to en/decrypt with APG.
- Store and read files on the android file system through APG. It cannot read files of other applications.
+ Store blobs to en/decrypt with APG.
+ Store and read files on the android file system through APG. It cannot read files of other applications.
Encrypt
Decrypt
Import Public Keys
Import Secret Keys
-
Search Public Keys
Search Secret Keys
Filter: \"%s\"
@@ -324,8 +321,6 @@
\n\nIt is recommended that you install OI File Manager or ASTRO to be able to use the browse button for file selection in APG.
\n\nFirst you need some keys. Either import them via the option menus in \"Manage Public Keys\" and \"Manage Secret Keys\" or create them in \"Manage Secret Keys\".
\n\nYou can also add a GMail account in the main activity via \"Add Account\", which simplifies decrypting emails received there.
-\n\nCheck out the option menus in the various activities to find more functions.
-
-
-
+\n\nCheck out the option menus in the various activities to find more functions.
+
\ No newline at end of file
diff --git a/src/org/thialfihar/android/apg/Apg.java b/src/org/thialfihar/android/apg/Apg.java
index 4d898ab5e..5b9ba6241 100644
--- a/src/org/thialfihar/android/apg/Apg.java
+++ b/src/org/thialfihar/android/apg/Apg.java
@@ -32,6 +32,7 @@ import org.spongycastle.openpgp.PGPEncryptedDataGenerator;
import org.spongycastle.openpgp.PGPEncryptedDataList;
import org.spongycastle.openpgp.PGPException;
import org.spongycastle.openpgp.PGPKeyPair;
+import org.spongycastle.openpgp.PGPKeyRing;
import org.spongycastle.openpgp.PGPKeyRingGenerator;
import org.spongycastle.openpgp.PGPLiteralData;
import org.spongycastle.openpgp.PGPLiteralDataGenerator;
@@ -52,6 +53,7 @@ import org.spongycastle.openpgp.PGPSignatureSubpacketGenerator;
import org.spongycastle.openpgp.PGPSignatureSubpacketVector;
import org.spongycastle.openpgp.PGPUtil;
import org.spongycastle.openpgp.PGPV3SignatureGenerator;
+import org.thialfihar.android.apg.KeyServer.AddKeyException;
import org.thialfihar.android.apg.provider.DataProvider;
import org.thialfihar.android.apg.provider.Database;
import org.thialfihar.android.apg.provider.KeyRings;
diff --git a/src/org/thialfihar/android/apg/ImportFromQRCodeActivity.java b/src/org/thialfihar/android/apg/ImportFromQRCodeActivity.java
index b875f2eef..773a5b727 100644
--- a/src/org/thialfihar/android/apg/ImportFromQRCodeActivity.java
+++ b/src/org/thialfihar/android/apg/ImportFromQRCodeActivity.java
@@ -26,7 +26,7 @@ public class ImportFromQRCodeActivity extends BaseActivity {
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
- IntentIntegrator.initiateScan(this);
+ new IntentIntegrator(this).initiateScan();
}
private void importAndSign(final long keyId, final String expectedFingerprint) {
diff --git a/src/org/thialfihar/android/apg/SecretKeyListActivity.java b/src/org/thialfihar/android/apg/SecretKeyListActivity.java
index 87005510a..d160042fc 100644
--- a/src/org/thialfihar/android/apg/SecretKeyListActivity.java
+++ b/src/org/thialfihar/android/apg/SecretKeyListActivity.java
@@ -108,7 +108,8 @@ public class SecretKeyListActivity extends KeyListActivity implements OnChildCli
long keyId = ((KeyListAdapter) mList.getExpandableListAdapter()).getGroupId(mSelectedItem);
String msg = keyId + "," + Apg.getFingerPrint(keyId);;
- IntentIntegrator.shareText(this, msg);
+
+ new IntentIntegrator(this).shareText(msg);
}
default: {