You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 5c245e9
Browse filesBrowse the repository at this point in the historyBrowse files
@@ -174,6 +174,9 @@ func (e *SaltpackRecipientKeyfinderEngine) identifyAndAddUserRecipient(m libkb.M
174
174
if!e.Arg.UseEntityKeys {
175
175
returnlibkb.NewRecipientNotFoundError(fmt.Sprintf("Cannot encrypt for %v: it is not a registered user (you can remove `--no-entity-keys` for users not yet on keybase)", u))
176
176
}
177
+
ife.Arg.NoSelfEncrypt {
178
+
returnlibkb.NewRecipientNotFoundError(fmt.Sprintf("Cannot encrypt for %v: it is not a registered user (you can remove `--no-self-encrypt` for users not yet on keybase)", u))
179
+
}
177
180
178
181
m.CDebugf("%v is not an existing user, trying to create an implicit team")
179
182
err=e.lookupAndAddImplicitTeamKeys(m, u)
@@ -275,6 +278,9 @@ func (e *SaltpackRecipientKeyfinderEngine) lookupAndAddImplicitTeamKeys(m libkb.
275
278
ife.Arg.UseRepudiableAuth {
276
279
returnfmt.Errorf("cannot encrypt for %v with --auth-type=repudiable", validSocialAssertionOrExistingUser)
277
280
}
281
+
ife.Arg.NoSelfEncrypt {
282
+
returnlibkb.NewRecipientNotFoundError(fmt.Sprintf("cannot encrypt for %v with --no-self-encrypt", validSocialAssertionOrExistingUser))
0 commit comments