and here's what happens after killing the agent and removing migration file
gpg: starting migration from earlier GnuPG versions gpg: porting secret keys from '/home/tjaalton/.gnupg/secring.gpg' to gpg-agent gpg: key A88984DC/A88984DC: error sending to agent: Permission denied gpg: error building skey array: Permission denied gpg: migration succeeded gpg: key A88984DC: "Timo Aaltonen <tjaal...@ubuntu.com>" not changed gpg: key A88984DC/A88984DC: error sending to agent: Permission denied gpg: error building skey array: Permission denied gpg: Total number processed: 3 gpg: unchanged: 1 gpg: secret keys read: 3 I'd say that it's too optimistic about the migration being successful -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1565963 Title: gpg secret keys not migrated after upgrade to gnupg 2.1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnupg2/+bug/1565963/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs