From 26b7b9c20a91fafab696d784b18aafe59006fd70 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sun, 5 Feb 2023 13:31:19 +0200 Subject: conf is not binary data --- geheim.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/geheim.rb b/geheim.rb index f8913a9..2b8035e 100755 --- a/geheim.rb +++ b/geheim.rb @@ -105,6 +105,7 @@ module Encryption super() if @@key.nil? pin = read_pin + # TODO: Make iv configurable iv = pin * 2 + "Hello world" + pin * 2 @@iv = iv[0..15] @@key = enforce_key_size(File.read($key_file), $key_file_size) @@ -285,6 +286,8 @@ class Index < CommitFile false elsif @description.include?('.README') false + elsif @description.include?('.conf') + false elsif @description.include?('.csv') false elsif @description.include?('.md') -- cgit v1.2.3