From nobody Thu Nov 10 09:45:17 2022 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4N7H4x5N89z4XKCW for ; Thu, 10 Nov 2022 09:45:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4N7H4s4tL5z3k0C for ; Thu, 10 Nov 2022 09:45:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1668073517; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=vtZt5+wF4/76Qp+qorwzpQiMBEL9xgKDryWun0uBL30=; b=yZuagLVcCLrTXi+2ud4TgwkeI2rz0zmsnstERCbWJdGkEGMyDAdNWyck0tv+BZN6+KDDpB 05Wx3VUa/cN+KXdG/Ph9jJzpXfJzsvZCRkbhfi4me6ujAv4bwjo6LLSJWm/ArrwY7wwVPF 2n5pKHd52wZlIGYL4TrNTnVFZGR75btochsg4LCuTwwV798bnH9EW08sFCapi0bjY90iZQ petMrvQPpbWeAuOUaMweB4amMMR01n7vp4oM94eCicVwD7MY6Ifx2I3Kz30gOqD8kp/sqS +qQw4qxoIAekXTO2Q5JFM5PEiyGTNRuHeKW0tuh6KKcS3ZG9QRjCq+6/E8o4rw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1668073517; a=rsa-sha256; cv=none; b=lZFZQQMUZsjcQQm5BFbAPoHM7sZXaz6V4fv+d0PLtjbDrc/f/iDqu5W9okGEbPZcRPmzFf ZlN5vQ60yFnEDWKGNYtJKjYIC3gyxa+1qnq5TMXUWCVXXUZQTCjDOX8VnAmtfUuyu5U1VW YUBIN44mryl10rE+rntm/ERYcvaoOpNJh6rEFOXhk8dgBXiR+9motTxSGsyaJRYV4rhjm8 YADIT4GRQ0CKpd1Wv8foaUi3/EqcZFqyIRAnV1sZ9R/qOU5HGY2QpkEFO2xL0i2sDjw0Eg pjEdsl6LjKdt3zPIhvurNR6/V+YB4V+enRId1KrfBnmjZRCjfCAekDdECXMPkg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4N7H4s3mpzzwvS for ; Thu, 10 Nov 2022 09:45:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 2AA9jHlA094467 for ; Thu, 10 Nov 2022 09:45:17 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2AA9jH6N094466 for ports-bugs@FreeBSD.org; Thu, 10 Nov 2022 09:45:17 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 267689] security/gopass: gopass edit foo fails Date: Thu, 10 Nov 2022 09:45:17 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: ehaupt@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: eduardo@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267689 Bug ID: 267689 Summary: security/gopass: gopass edit foo fails Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: eduardo@FreeBSD.org Reporter: ehaupt@FreeBSD.org Flags: maintainer-feedback?(eduardo@FreeBSD.org) Assignee: eduardo@FreeBSD.org gopass edit fails with: $ gopass edit foo vi: illegal option -- i usage: ex [-eFRrSsv] [-c command] [-t tag] [-w size] [file ...] usage: vi [-eFlRrSv] [-c command] [-t tag] [-w size] [file ...] Error: failed to invoke editor: failed to run vi with /tmp/gopass-edit3702329236/secret file: exit status 1 This happens because nvi (default EDITOR) does not have an option -i. Suboptimal workaround: - install VIM - EDITOR=3Dvim gopass edit foo A better way would be to patch internal/editor/editor.go so that -i is only used when EDITOR is vim. This is probably best handled upstream. --=20 You are receiving this mail because: You are the assignee for the bug.=