出于许多原因,我一直试图找到一种加密备份磁带的方法。我目前正在为我的备份运行Bacula,它支持基于驱动器的加密,就是我必须调用一个脚本或什么东西来设置驱动器中的密钥。
如何在Debian中设置磁带驱动器上的加密选项?
发布于 2013-01-19 15:27:09
stenc项目应该是有用的(还没有亲自测试过) -- http://sourceforge.net/projects/stenc/
发布于 2017-01-13 23:10:42
我已经测试了明细的建议,由森德莫尔信息和它很好地与LTO-6驱动器。
插入磁带并询问磁带驱动器的设置:
# stenc -f /dev/nst0 --detail生成256位密钥并存储:
# stenc -g 256 -k /root/myaes.key -kd Bobs_month_key加载LTO磁带驱动器中的密钥。使用--ckod时,它会在磁带弹出后忘记键。
# stenc -f /dev/nst0 -e on -k /root/myaes.key -a 1 --ckod验证驱动器现在是否启用了AES:
# stenc -f /dev/nst0 --detail
Status for /dev/nst0
--------------------------------------------------
Device Mfg: TANDBERG
Product ID: LTO-6 HH
Product Revision: 3519
Drive Encryption: on
Drive Output: Decrypting
Unencrypted data not outputted
Drive Input: Encrypting
Protecting from raw read
Key Instance Counter: 4
Encryption Algorithm: 1
Drive Key Desc.(uKAD): Bobs_month_key
Volume Encryption: Encrypted and able to decrypt
Protected from raw read
Volume Algorithm: 1我已经为Gentoo Linux准备了一个包。
https://serverfault.com/questions/354069
复制相似问题