Is using a smart card and password two-factor authentication? I use a smart card - as read only device - for user identity as well as a password:


The smart card (holds the user ID) is something I have;
The password is something I know.


Is this still two-factor authentication?
Is this still a two-factor authentication?


Yes, it can be but it depends on how the smartcard is used.  

For example your OS could just use the password for authentication and ignore the fact that a smartcard is present in which case there would be no 2FA.  

Or your smart card / OS could be configured to use a key on the card that doesn't actually require a correct user input to allow operation (though I'm not sure how many cards support that) and in this case it is imaginable that only the card matters for authentication which is also no 2FA. 

However it is most likely that the OS will e.g. decrypt a per-user secret using a private key stored on the card or perform public-key based authentication against a remote server and your card will allow usage of the relevant key if you authenticate first to the card, which indeed is a form of two-factor authentication, as you need the card which holds the key and you need the password to operate the card.