Lurker here asking you to tell me something I probably already know. Here's the deal:
There are 5 employees in my office. My boss is very close friends with one of my coworkers. Said coworker does very little (especially when the boss is not here.) I volunteered to take on a project that coworker had previously done very badly. Boss suggested I work with her. Working with her means that I type up an application and get letters of recommendation; coworker would email my work to someone at the accrediting organization.
Here's where I need you to talk sense to me. There is absolutely no good that would come of pointing out to my boss specific instances where my coworker has not done a thing, and yet has gotten credit for the project and asking boss to just let me do this on my own, right?
Re: Nothing good can come of this, right?
Do you think your boss has no clue? I was in a similar situation at a prior job. My boss hired her friend (from another department) into our department. The friend was terrible in the position. Eventually this became very evident and the friend was eventually let go. Friend couldn't believe that the boss would do this to her and it was the end of their friendship (after attending each others weddings and being close for years).
I probably wouldn't say anything unless your boss asks you. What I would do is make very clear what you have done, even if coworker is taking credit. You need to make your boss aware of your specific contributions if she does not already know.
Bottom line -- bosses should not be personal friends with their subordinates (IMO).
This is probably an exception, but I've done projects for co workers who have screwed up royally. Most of the time when my bosses have asked me to take on the project they are aware of the situation, no matter who they are or aren't friends with. I've dealt with several bosses who carry on a friendship with co workers, but the co worker takes advantage of the realtionship. The boss is aware of this. I'm sure your boss is too.
I would take it as a compliment that your boss trusts you will get the work done. Yeah it sucks because you feel like you are being punished, or not recognized for the workd that you did...but I'm sure your boss still understands you are doing most of the work. If not, I agree with pp, that you point out to your boss everything you did do. I would definately document this for when you have a review or performance eval with your boss.
I agree that bosses should not work closely with close friends. It's really awkward. (They had a fight last year and my coworker got cut back to part-time. Then they made up and she got a raise.)
I think my boss does know that my coworker need to work harder but she has a really hard time disciplining anyone.