Open igalic opened 10 years ago
Just for reference, I suspect this is because you are manually assigning a new ID (DEC(2)
) to the second entry.
Just introducing it as DEC::GPG[foo]!
works for me. A new ID will be automatically assigned as soon as you save.
@lucab is right. The id is used to track changes so we don't unnecessarily re-encrypt values that haven't been changed. It will break if you try and introduce a new id that it doesn't exist.
The new release (2.0.4) adds a preamble that explains this and makes it all a little easier to remember.
ACK! Thanks for the info
We should see if we can make this error clearer although it belongs in the hiera-eyaml project rather than here so I'll open a new ticket.
I have a file foo.eyaml, that, unencrypted, looks like so:
now I'd like to duplicate this, and have something like:
when saving & closing the editor, I'm getting the following error: