It's a movie I saw a few years ago, I don't remember if I owned it, rented it or saw it on tv. I thought it was with Cate Blanchett but I went through her movies on IMDB and couldn't find it so I guess I'm wrong there.
The story is in WWII, at the beginning the women work for the british government listening to radio communications for the decoding department. I don't really remember what happens next but I know the main female characters falls in love with a guy and, if I'm not mistaking, at the end it turns out that they're both double agents or something like that.
I can vaguely remember that the movie ends with both of them trying to be the first one to reach a church somewhere for some reason.