Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have quite a few keys I manage with Seahorse, and the passwords to them are quite complex, and kept in a safe method from which I must paste them(they are 64 characters). When I attempt to use these keys(sign, encrypt, etc), I am prompted with the agent to enter the key password. However, this agent refuses to accept pasted data(the password), and due to my having many keys, entering the passwords painstakingly(even just for the first time to save it to the keyring) is prohibitively difficult. Is there a workaround that will allow pasting into this window?

share|improve this question
If you paste the same thing into a terminal or text editor, do you have extra whitespace or a new line at the beginning or the end? – dobey Aug 10 '12 at 16:33
@dobey No, it is just text without whitespace. It is of the format(while this is not my real password): DHMpuCiUgfgL3P7GDXdMCPkV3AjtntZgalxhgGvp2mDRjEhZMH3xY9VURuVHwODu, and is accepted hand-typed. Also, there is no right-click menu in the textbox, which I find odd. – hexafraction Aug 10 '12 at 16:35
up vote 0 down vote accepted

While this is cumbersome, one may paste the password into another (secure) program, such as gedit, and then after selecting the entire password, dragging it into the errant box. This actually has the weird effect of, for the current session, allowing pasting via keyboard shortcut into the errant window.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.