Add enum as a dependency.
Fix test to use correct new signature for openpgp.put_ascii_key().