[TxMt] Re: Blogging and Keychain

Brad Choate brad at bradchoate.com
Fri Dec 21 16:53:55 UTC 2012


I can't reproduce that problem myself. The keychain is manipulated using the "security" command line tool. Anything unusual about your password? Everything set up right in your blog file? Take a look at the file in ~/Library/Preferences/com.macromates.textmate.blogging.txt. You'll see something like:

	blogname	http://username@hostname.com/wordpress/xmlrpc.php

You can test the retrieval of the password using this command:

	security find-internet-password -g -a "username" -s "hostname.com" -p "/wordpress/xmlrpc.php" -r http

(change the parameters above to match your blog configuration of course)

If all is well, the output should include a line like this:

	password: "yourpassword"

if it doesn't, that's why you're getting asked for your password all the time.

You can also test password insertion. Try this:

	security add-internet-password -a "username" -s "hostname.com" -r "http" -p "/wordpress/xmlrpc.php" -w "yourpassword"

Note any errors this may produce once you change those to the actual values for your blog.

My best guess is that your password contains a special character (perhaps a quote character?) that should be handled better, but isn't now.

-Brad


On Dec 21, 2012, at 4:53 AM, "Dr. Dieter Zakel MA" <dieterzakel at spamcop.net> wrote:

> Ladies and Gentlemen:
> 
> I use the blogging bundle from Brad Choate.
> Since Snow Leopard the password to my wordpress blog is not saved in the keychain anymore.
> I have to type it in every time.
> Also while fetching.
> 
> Does anyone has a hint?
> 
> Thank you very much.
> 
> ---
> Kind regards
> Dr. Dieter Zakel MA
> hotline: +43 (800) MEDIZIN
> 
> 
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate



More information about the textmate mailing list