diff options
Diffstat (limited to 'localization/yubicrypt-de.go')
| -rw-r--r-- | localization/yubicrypt-de.go | 10 |
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)
}
}
|
