Timestamp error when we try to sign a model assertion

Bug #1642082 reported by Peng on 2016-11-15
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snappy
Undecided
David Callé

Bug Description

I tried to build a image with the steps described in below link:
http://docs.ubuntu.com/core/en/guides/build-device/image-building

In step "2. Sign your model assertion", the command reported the following error:
=========================================================
error: cannot assemble assertion model: "timestamp" header is not a RFC3339 date: parsing time "$(date -Iseconds --utc)..."
=========================================================

Peng (pengliu6) wrote :

The issue can be fixed by replacing
"timestamp": "$(date -Iseconds --utc)" with a valid timestamp. So the document needs to be updated.

David Callé (davidc3) wrote :

Confirmed. That's interesting since it has been working for me in the past.

Changed in snappy:
status: New → Confirmed
assignee: nobody → David Callé (davidc3)
tags: added: snappy-docs
David Callé (davidc3) on 2016-11-16
Changed in snappy:
status: Confirmed → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers