Package: obnam Version: 1.1-1.1 Severity: normal The remove-key command silently does nothing if given the short key id of an encryption key. The key is only removed when the long 16 character keyid is used. Short keyids work in other commands like add-key or for the --encrypt-with option.
See below for the commands I executed and the configuration file. It's only redacted to anonymize hostnames. Gaudenz ----- root@host:~# obnam --config /etc/obnam/srv.conf --keyid BAF91EF5 remove-key host.int.example.com host root@host:~# obnam --config /etc/obnam/srv.conf list-toplevels toplevel: 17369354630538653041 D1F604AE6198AC38 A97A7702BAF91EF5 toplevel: 984361623237162580 D1F604AE6198AC38 A97A7702BAF91EF5 toplevel: clientlist D1F604AE6198AC38 A97A7702BAF91EF5 toplevel: chunks D1F604AE6198AC38 A97A7702BAF91EF5 toplevel: chunklist D1F604AE6198AC38 A97A7702BAF91EF5 toplevel: chunksums D1F604AE6198AC38 A97A7702BAF91EF5 root@host:~# obnam --config /etc/obnam/srv.conf --keyid 319C67AEF813CAB2 remove-key host.int.example.com host root@host:~# obnam --config /etc/obnam/srv.conf list-toplevels toplevel: 17369354630538653041 D1F604AE6198AC38 A97A7702BAF91EF5 toplevel: 984361623237162580 D1F604AE6198AC38 A97A7702BAF91EF5 toplevel: clientlist D1F604AE6198AC38 A97A7702BAF91EF5 toplevel: chunks D1F604AE6198AC38 A97A7702BAF91EF5 toplevel: chunklist D1F604AE6198AC38 A97A7702BAF91EF5 toplevel: chunksums D1F604AE6198AC38 A97A7702BAF91EF5 root@host:~# obnam --config /etc/obnam/srv.conf --keyid A97A7702BAF91EF5 remove-key host.int.example.com host root@host:~# obnam --config /etc/obnam/srv.conf list-toplevels toplevel: 17369354630538653041 D1F604AE6198AC38 toplevel: 984361623237162580 D1F604AE6198AC38 toplevel: clientlist D1F604AE6198AC38 toplevel: chunks D1F604AE6198AC38 toplevel: chunklist D1F604AE6198AC38 toplevel: chunksums D1F604AE6198AC38 root@host:~# cat /etc/obnam/srv.conf # This file is managed by puppet. # Do not edit by hand! [config] client-name: host.int.example.com repository: sftp://[email protected]/backup/host.int.example.com exclude: keep: 30d,8w,12m encrypt-with: 6198AC38 weak-random: true log: syslog log-level: warning -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (800, 'testing'), (700, 'unstable'), (50, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.5-trunk-amd64 (SMP w/2 CPU cores) Locale: LANG=de_CH.UTF-8, LC_CTYPE=de_CH.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages obnam depends on: ii libc6 2.13-35 ii python 2.7.3~rc2-1 ii python-cliapp 1.20120630-1 ii python-larch 1.20120527-1 ii python-paramiko 1.7.7.1-3 ii python-tracing 0.6-2 ii python-ttystatus 0.19-1 obnam recommends no packages. obnam suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

