'Old GRR installations used crypt based passwords.
Since crypt is not available on all platforms this has now been removed. We
still support it on those platforms which have crypt. Backwards support
means we can read and verify old crypt encoded passwords, but new passwords
are encoded with sha256.'

def testBackwardsCompatibility(self):

    password = users.CryptedPassword()
    password._value = 'axwHNtal/dlzU'
    self.assertFalse(password.CheckPassword('goodbye'))
    self.assertTrue(password.CheckPassword('hello'))
