at_activate
error message for duplicate enrollments could be more helpful
#548
Labels
bug
Something isn't working
Describe the bug
If I try to perform an enrollment using the same
--drx
parameter as before then the error message doesn't really explain what's wrong.Steps to reproduce
at_activate enroll -a ${atsign} -s ${otp} -p noports -k ${home}/.atsign/keys/${atsign}_key.atKeys -d ${device} -n "sshnp:rw,sshrvd:rw"
Expected behavior
An error message that states an enrollment already exists for that DeviceName (which could go on to suggest that if you need to recreate an APKAM key for a device then it should be revoked and then re-enrolled).
The text was updated successfully, but these errors were encountered: