`get_key` is basically guaranteed to return a key, or throw an exception itself (e.g. if there's a corrupt public key on a Device), so an assert sounds good here (basically the same outcome as currently, just different signal to the reader, right?)