GPG key generation doesn't support non-ascii names

Bug #318514 reported by Celso Providelo
2
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Celso Providelo

Bug Description

The current implementation of IGPGHandler.generatekey() doesn't support 'name' containing non-ascii characters.

According to the GPGME documentation [1], 'utf-8' encoded contents are supported.

In order to fix this issue we should encode the given name (unicode) to 'utf-8' before passing the key-generation configuration to context.genkey().

[1] http://pyme.sourceforge.net/doc/gpgme/Generating-Keys.html

Tags: lp-soyuz ppa
Celso Providelo (cprov)
Changed in soyuz:
assignee: nobody → cprov
importance: Undecided → High
milestone: none → 2.2.2
status: New → In Progress
Celso Providelo (cprov)
description: updated
Celso Providelo (cprov)
Changed in soyuz:
milestone: 2.2.2 → 2.2.1
Revision history for this message
Celso Providelo (cprov) wrote :

RF 7608

Changed in soyuz:
status: In Progress → Fix Committed
Celso Providelo (cprov)
Changed in soyuz:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.