awslabs / tough

Rust libraries and tools for using and generating TUF repositories

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`impl Sign for &'a T where T: Sign`

iliana opened this issue · comments

Currently you need an owned object for the Sign trait. This makes implementing a KeySource where the key is in-memory (e.g. a dynamically-generated key for writing test cases) difficult or impossible, because none of the types used impl Clone.