[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Fix for encryption error when data has length 12
From: |
Craig Mason-Jones |
Subject: |
Fix for encryption error when data has length 12 |
Date: |
Sun, 3 Sep 2023 10:06:04 +0200 |
User-agent: |
Mozilla Thunderbird |
Hi,
A few months ago I reported an error with encrypted data when the data
has length 12. I'm very pleased to be able to present the fix today, in
the attached diff.
The fix can be verified with this test file:
---
#!/bin/bash
cat <<EOFILE >enc.rec
%rec: Login
%doc: Login to a website or application
%type: Name line
%confidential: Password
EOFILE
PASS=thisismyverysecretpassword
./utils/recins -t Login -f Name -v Test2 -f Password -v "123456789012"
-s $PASS enc.rec
./utils/recsel -s $PASS enc.rec
---
Hope that helps, and makes recutils an even better utility.
Kind regards,
Craig
recutils_field_len_12_patch.diff
Description: Text document
- Fix for encryption error when data has length 12,
Craig Mason-Jones <=