summaryrefslogtreecommitdiffstats
path: root/localization
diff options
context:
space:
mode:
authorCh1ffr3punk <sacenator@gmail.com>2026-03-12 10:03:28 +0100
committerGitHub <noreply@github.com>2026-03-12 10:03:28 +0100
commitf1944f8ff63986afa8f18d54b2bb18dc35aa3546 (patch)
treeaee23e62adaf521d1a2ae6a382091da2ad073753 /localization
parenta1912606fa5a259a4e4a1a82a934913683edc3ec (diff)
downloadyubicrpt-cli-f1944f8ff63986afa8f18d54b2bb18dc35aa3546.tar.gz
yubicrpt-cli-f1944f8ff63986afa8f18d54b2bb18dc35aa3546.tar.xz
yubicrpt-cli-f1944f8ff63986afa8f18d54b2bb18dc35aa3546.zip
Add files via upload
Diffstat (limited to 'localization')
-rw-r--r--localization/yubicrypt-de.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/localization/yubicrypt-de.go b/localization/yubicrypt-de.go
index d72f787..fa6c60b 100644
--- a/localization/yubicrypt-de.go
+++ b/localization/yubicrypt-de.go
@@ -245,7 +245,7 @@ func (g *GUI) showInfoPopup() {
okButton.Importance = widget.HighImportance
content := container.NewVBox(
- widget.NewLabelWithStyle("yubicrypt v0.1.8", fyne.TextAlignCenter, fyne.TextStyle{Bold: true}),
+ widget.NewLabelWithStyle("yubicrypt v0.1.9", fyne.TextAlignCenter, fyne.TextStyle{Bold: true}),
widget.NewSeparator(),
container.NewHBox(
layout.NewSpacer(),
@@ -359,8 +359,8 @@ func (g *GUI) choosePublicKey() {
defer reader.Close()
path := reader.URI().Path()
- if filepath.Ext(path) != ".pem" {
- g.statusLabel.SetText("Fehler: Bitte wählen Sie eine .pem Datei")
+ if filepath.Ext(path) != ".crt" {
+ g.statusLabel.SetText("Fehler: Bitte wählen Sie eine .crt Datei")
return
}
@@ -1145,7 +1145,7 @@ func loadRSAPublicKey(filename string) (*rsa.PublicKey, error) {
block, _ := pem.Decode(data)
if block == nil {
- return nil, fmt.Errorf("keine PEM-Daten in der Datei gefunden")
+ return nil, fmt.Errorf("keine Daten in der Datei gefunden")
}
switch block.Type {
@@ -1188,7 +1188,7 @@ func loadRSAPublicKey(filename string) (*rsa.PublicKey, error) {
return pubKey, nil
default:
- return nil, fmt.Errorf("nicht unterstützter PEM-Typ: %s, erwartet CERTIFICATE, PUBLIC KEY oder RSA PUBLIC KEY", block.Type)
+ return nil, fmt.Errorf("nicht unterstützter Typ: %s, erwartet CERTIFICATE, PUBLIC KEY oder RSA PUBLIC KEY", block.Type)
}
}