A SHA-1 hash of the inputs to an `Image`. The string representation uses base32 encoding to distinguish mzbuild fingerprints from Git's hex encoded SHA-1 hashes while still being URL safe.
| 143 | |
| 144 | |
| 145 | class Fingerprint(bytes): |
| 146 | """A SHA-1 hash of the inputs to an `Image`. |
| 147 | |
| 148 | The string representation uses base32 encoding to distinguish mzbuild |
| 149 | fingerprints from Git's hex encoded SHA-1 hashes while still being |
| 150 | URL safe. |
| 151 | """ |
| 152 | |
| 153 | def __str__(self) -> str: |
| 154 | return base64.b32encode(self).decode() |
| 155 | |
| 156 | |
| 157 | class Profile(Enum): |