attempted to patch master key - but getInputStream is too much of a pain to diff