trouble signing the code of conduct

Asked by Leo Quinney

Here is where i am...
"Sign the Ubuntu code of Conduct

To sign the code of conduct:

    Download the file to your own computer and read it carefully to ensure you agree to it.
    In a terminal, run the command:

        gpg --clearsign UbuntuCodeofConduct-1.1.txt

    (or whatever filename you gave to the code). This will create a file with a name like UbuntuCodeofConduct-1.1.txt.asc.

    Open that new file, and copy and paste its contents into this box. Then click “Continue”."

~~~~~~I downloaded the file but when I type "gpg --clearsign UbuntuCodeofConduct-1.1.txt"
into the terminal window it says:

You need a passphrase to unlock the secret key for
user: "Leo Quinney (no comment) <email address hidden>"
2048-bit RSA key, ID 4AB50730, created 2011-10-16

gpg: can't open `UbuntuCodeofConduct-1.1.txt': No such file or directory
gpg: UbuntuCodeofConduct-1.1.txt: clearsign failed: file open error

Suggestions??

Question information

Language:
English Edit question
Status:
Answered
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Benji York (benji) said :
#1

It appears that either you saved the code of conduct file under a name
other than UbuntuCodeofConduct-1.1.txt or saved it in a different
directory than the one you were in when you tried to run the gpg
command.

The file was probably downloaded to your Downloads directory, so simply
typing "cd Downloads" (without the quotes) before running the gpg
command might be all you need.

If not, you'll need to find out where you downloaded the code of conduct
file to and change to that directory instead. Otherwise you can
download the file again and save it in a known location so you can
change there and then run the gpg command.

Revision history for this message
david zok (david-zok) said :
#2

I've just had the very same problem, and this is how I managed to get around it.

1) After downloading the .txt file, I clicked "open" instead of "save." This automatically stored the file in the /tmp folder.

2) In the terminal, I went to that directory ("cd /tmp"), and then entered "gpg --clearsign UbuntuCodeofConduct-1.1.txt".

3) Even though I didn't get a clear response, I closed terminal, opened up my /tmp folder and found the .asc file waiting there for me.

4) I had no problem opening the file using gedit, and no error came up when I pasted the contents onto the site.

Can you help with this problem?

Provide an answer of your own, or ask Leo Quinney for more information if necessary.

To post a message you must log in.