modified Linux and keystore part II