sekrets is a command line tool and library used to securely manage encrypted files and settings in your rails' applications and git repositories.
BSD 2-Clause "Simplified" License
268
stars
28
forks
source link
openr passes O_RDWR to open #13
Closed
limitusus closed 6 months ago
https://github.com/ahoward/sekrets/blob/master/lib/sekrets.rb#L214
open_r
seems to support "readonly" file I/O but it tries to open a file withrb+
instead ofrb
, which causesErrno::EACCES
when trying toread
encrypted file withread
access.Like above, even when
secret.yaml.enc
has mode0664
.