<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://fileformats.archiveteam.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://fileformats.archiveteam.org/index.php?action=history&amp;feed=atom&amp;title=Siegfried</id>
		<title>Siegfried - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://fileformats.archiveteam.org/index.php?action=history&amp;feed=atom&amp;title=Siegfried"/>
		<link rel="alternate" type="text/html" href="http://fileformats.archiveteam.org/index.php?title=Siegfried&amp;action=history"/>
		<updated>2026-05-11T21:11:12Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.19.2</generator>

	<entry>
		<id>http://fileformats.archiveteam.org/index.php?title=Siegfried&amp;diff=49976&amp;oldid=prev</id>
		<title>Ross-spencer: Add link to REST API</title>
		<link rel="alternate" type="text/html" href="http://fileformats.archiveteam.org/index.php?title=Siegfried&amp;diff=49976&amp;oldid=prev"/>
				<updated>2025-02-07T10:39:20Z</updated>
		
		<summary type="html">&lt;p&gt;Add link to REST API&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr valign='top'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 10:39, 7 February 2025&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 14:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 14:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Like DROID, Siegfried supports identification of individual files, or entire directory trees. Siegfried can look within different aggregate file formats such as [[ZIP]], [[TAR]], [[WARC]] and [[ARC]]. &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Like DROID, Siegfried supports identification of individual files, or entire directory trees. Siegfried can look within different aggregate file formats such as [[ZIP]], [[TAR]], [[WARC]] and [[ARC]]. &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Siegfried is open source and developed in Golang. Siegfied supports command-line output which can be piped into a file for further analysis. Siegfried's server support also offers access via REST API. Siegfried can also be [https://github.com/richardlehane/siegfried/tree/063951c5773ce164f5bd1dadd504bdc8c22d8946/wasm compiled as WASM] which enables client-side identification of file formats and client-side digital preservation workflows.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Siegfried is open source and developed in Golang. Siegfied supports command-line output which can be piped into a file for further analysis. Siegfried's server support also offers access via &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;[https://github.com/richardlehane/siegfried/wiki/Using-the-siegfried-server &lt;/ins&gt;REST API&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;]&lt;/ins&gt;. Siegfried can also be [https://github.com/richardlehane/siegfried/tree/063951c5773ce164f5bd1dadd504bdc8c22d8946/wasm compiled as WASM] which enables client-side identification of file formats and client-side digital preservation workflows.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== GitHub ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== GitHub ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Ross-spencer</name></author>	</entry>

	<entry>
		<id>http://fileformats.archiveteam.org/index.php?title=Siegfried&amp;diff=49975&amp;oldid=prev</id>
		<title>Ross-spencer: /* Customizing Siegfried */</title>
		<link rel="alternate" type="text/html" href="http://fileformats.archiveteam.org/index.php?title=Siegfried&amp;diff=49975&amp;oldid=prev"/>
				<updated>2025-02-07T10:38:26Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Customizing Siegfried&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr valign='top'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 10:38, 7 February 2025&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 29:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 29:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== Customizing Siegfried ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== Customizing Siegfried ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;Siegfried can be customized through its partner application Roy. More information can be found on the [https://github.com/richardlehane/siegfried/wiki/Building-a-signature-file-with-ROY Roy Wiki].&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;=== Wikidata ===&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;=== Wikidata ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Ross-spencer</name></author>	</entry>

	<entry>
		<id>http://fileformats.archiveteam.org/index.php?title=Siegfried&amp;diff=49969&amp;oldid=prev</id>
		<title>Ross-spencer: Add Siegfried as an identification tool</title>
		<link rel="alternate" type="text/html" href="http://fileformats.archiveteam.org/index.php?title=Siegfried&amp;diff=49969&amp;oldid=prev"/>
				<updated>2025-02-06T12:52:20Z</updated>
		
		<summary type="html">&lt;p&gt;Add Siegfried as an identification tool&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
{|&lt;br /&gt;
|[[Software]]&lt;br /&gt;
| &amp;gt;&lt;br /&gt;
|[[File identification software]]&lt;br /&gt;
| &amp;gt;&lt;br /&gt;
| '''Siegfried'''&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Automated batch identification of file formats using internal and external signatures. Siegfried's primary signatures are derived from [[PRONOM]] and [[DROID]] but also has support for FreeDesktop.org's [https://freedesktop.org/wiki/Software/shared-mime-info/ MIME], Library of Congress' [http://www.digitalpreservation.gov/formats/fdd/descriptions.shtml FDD's], and [https://wikidata.org/ Wikidata].&lt;br /&gt;
&lt;br /&gt;
== About ==&lt;br /&gt;
&lt;br /&gt;
Like DROID, Siegfried supports identification of individual files, or entire directory trees. Siegfried can look within different aggregate file formats such as [[ZIP]], [[TAR]], [[WARC]] and [[ARC]]. &lt;br /&gt;
&lt;br /&gt;
Siegfried is open source and developed in Golang. Siegfied supports command-line output which can be piped into a file for further analysis. Siegfried's server support also offers access via REST API. Siegfried can also be [https://github.com/richardlehane/siegfried/tree/063951c5773ce164f5bd1dadd504bdc8c22d8946/wasm compiled as WASM] which enables client-side identification of file formats and client-side digital preservation workflows.&lt;br /&gt;
&lt;br /&gt;
== GitHub ==&lt;br /&gt;
&lt;br /&gt;
Siegfried is [https://github.com/richardlehane/siegfried available on GitHub].&lt;br /&gt;
&lt;br /&gt;
== Checksums == &lt;br /&gt;
&lt;br /&gt;
Siegfried supports `md5`, `sha1`, `sha256`, `sha512`, `crc` checksums.&lt;br /&gt;
&lt;br /&gt;
== Output formats ==&lt;br /&gt;
&lt;br /&gt;
Siegfried supports output in YAML, JSON, CSV, and DROID compatible CSV. Siegfried also offers a replay capability to re-run existing signature files through its engine to convert the file to one of its other supported formats.&lt;br /&gt;
&lt;br /&gt;
== Customizing Siegfried ==&lt;br /&gt;
&lt;br /&gt;
=== Wikidata ===&lt;br /&gt;
&lt;br /&gt;
Folks may be interested in customizing the Wikidata signature file to get more fine-grained or specific results from Wikidata based identifications. The SPARQL source looks as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Return all file format records from Wikidata.&lt;br /&gt;
SELECT DISTINCT ?uri ?uriLabel ?puid ?extension ?mimetype ?encoding ?referenceLabel ?date ?relativity ?offset ?sig WHERE {&lt;br /&gt;
  { ?uri (wdt:P31/(wdt:P279*)) wd:Q235557. }&lt;br /&gt;
  UNION&lt;br /&gt;
  { ?uri (wdt:P31/(wdt:P279*)) wd:Q26085352. }&lt;br /&gt;
  FILTER(EXISTS { ?uri (wdt:P2748|wdt:P1195|wdt:P1163|ps:P4152) _:b2. })&lt;br /&gt;
  FILTER((STRLEN(?sig)) &amp;gt;= 4 )&lt;br /&gt;
  OPTIONAL { ?uri wdt:P2748 ?puid. }&lt;br /&gt;
  OPTIONAL { ?uri wdt:P1195 ?extension. }&lt;br /&gt;
  OPTIONAL { ?uri wdt:P1163 ?mimetype. }&lt;br /&gt;
  OPTIONAL {&lt;br /&gt;
    ?uri p:P4152 ?object.&lt;br /&gt;
    OPTIONAL { ?object pq:P3294 ?encoding. }&lt;br /&gt;
    OPTIONAL { ?object ps:P4152 ?sig. }&lt;br /&gt;
    OPTIONAL { ?object pq:P2210 ?relativity. }&lt;br /&gt;
    OPTIONAL { ?object pq:P4153 ?offset. }&lt;br /&gt;
    OPTIONAL {&lt;br /&gt;
      ?object prov:wasDerivedFrom ?provenance.&lt;br /&gt;
      OPTIONAL {&lt;br /&gt;
        ?provenance pr:P248 ?reference;&lt;br /&gt;
          pr:P813 ?date.&lt;br /&gt;
      }&lt;br /&gt;
    }&lt;br /&gt;
  }&lt;br /&gt;
  SERVICE wikibase:label { bd:serviceParam wikibase:language &amp;quot;[AUTO_LANGUAGE], en&amp;quot;. }&lt;br /&gt;
}&lt;br /&gt;
ORDER BY (?uri)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[https://w.wiki/Cy4W Try It!]&lt;br /&gt;
&lt;br /&gt;
Once the SPARQL has been customized it can be used with Siegfried by following the instructions on the [https://github.com/richardlehane/siegfried/wiki/Wikidata-identifier#custom-wikibase Siegfried Wiki].&lt;br /&gt;
&lt;br /&gt;
==Related==&lt;br /&gt;
{{Related file format identification}}&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
&lt;br /&gt;
* [http://www.itforarchivists.com/siegfried Siegfried at IT for Archivists ]&lt;br /&gt;
* [https://github.com/richardlehane/siegfried/wiki/ Siegfried Wiki]&lt;br /&gt;
* [https://openpreservation.org/blogs/siegfried-pronom-based-file-format-identification-tool/ Siegfried – a PRONOM-based, file format identification tool at the OPF]&lt;br /&gt;
* [https://github.com/richardlehane/siegfried/tree/063951c5773ce164f5bd1dadd504bdc8c22d8946/wasm Siegfried WASM]&lt;br /&gt;
* [https://www.digipres.org/publications/ipres/ipres-2021/papers/wikidata-a-magic-portal-for-siegfried-and-roy/ Wikidata: A Magic Portal for Siegfried and Roy]&lt;br /&gt;
&lt;br /&gt;
[[Category:File Format Identification]]&lt;/div&gt;</summary>
		<author><name>Ross-spencer</name></author>	</entry>

	</feed>