Ex-minister and Bletchley Park code-breaker became widely known after making a V-sign in the Lords.