summarylogtreecommitdiffstats
path: root/signer.patch
diff options
context:
space:
mode:
authorcembro2023-04-17 20:18:30 +0200
committercembro2023-04-17 20:18:30 +0200
commit862e7b191d82f69c021cb4a70093964aefe61f93 (patch)
tree189e0eb8aac7c6a1e6e629535fb8b74e2321f453 /signer.patch
downloadaur-tkey-ssh-agent2.tar.gz
init
Diffstat (limited to 'signer.patch')
-rw-r--r--signer.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/signer.patch b/signer.patch
new file mode 100644
index 000000000000..e6c4bc211653
--- /dev/null
+++ b/signer.patch
@@ -0,0 +1,14 @@
+9d8
+< _ "embed"
+26,31d24
+< // nolint:typecheck // Avoid lint error when the embedding file is missing.
+< // Makefile copies the built app here ./app.bin
+< //
+< //go:embed app.bin
+< var appBinary []byte
+<
+194a188,191
+> appBinary,err := os.ReadFile("/usr/share/tillitis/signer.app.bin");
+> if err != nil {
+> return fmt.Errorf("Error loading device code: %w", err)
+> }