Skip to content

Changing passphrase fails: AttributeError: 'PassphraseKey' object has no attribute 'change_passphrase' #189

@RoelN

Description

@RoelN

I'm on Debian Jessie, installed Attic (v0.13) through aptitude. Everything works, but when I try to change my repository's passphrase I get an error:

root@server:~#  attic change-passphrase -v /mnt/backups/my-backup.attic
Enter passphrase for /mnt/backups/my-backup.attic:
Traceback (most recent call last):
  File "/usr/bin/attic", line 3, in <module>
    main()
  File "/usr/lib/python3/dist-packages/attic/archiver.py", line 715, in main
    exit_code = archiver.run(sys.argv[1:])
  File "/usr/lib/python3/dist-packages/attic/archiver.py", line 705, in run
    return args.func(args)
  File "/usr/lib/python3/dist-packages/attic/archiver.py", line 92, in do_change_passphrase
    key.change_passphrase()
AttributeError: 'PassphraseKey' object has no attribute 'change_passphrase'
root@server:~#

This happens when entering the correct password.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions