diff --git a/appmgr/src/s9pk/reader.rs b/appmgr/src/s9pk/reader.rs index e00da7344..f2c801b78 100644 --- a/appmgr/src/s9pk/reader.rs +++ b/appmgr/src/s9pk/reader.rs @@ -67,6 +67,7 @@ impl S9pkReader> { } impl S9pkReader { pub async fn validate(&mut self) -> Result<(), Error> { + self.rdr.seek(SeekFrom::Start(0)).await?; Ok(()) } pub async fn from_reader(mut rdr: R) -> Result {