OpenPgp generate key support Internationalized Domain Names

This commit is contained in:
the-djmaze 2024-03-12 18:14:14 +01:00
parent b89f91f08a
commit 03e2dda6c1

View file

@ -43,7 +43,7 @@ export class OpenPgpGeneratePopupView extends AbstractViewPopup {
const type = this.keyType().toLowerCase(),
userId = {
name: this.name(),
email: this.email()
email: IDN.toASCII(this.email())
},
cfg = {
type: type,