[Pkg-privacy-maintainers] Bug#909517: torify: does not expand shell aliases
Hefee
hefee at debian.org
Mon Mar 10 13:03:59 GMT 2025
Control: tags -1 + wontfix
Hey,
upstream responded and closed
https://gitlab.torproject.org/tpo/core/torsocks/-/issues/40027#note_3169763
"I doubt most other tools supports this. Not a problem in torsocks."
Regards,
hefee
--
On Sun, 21 Oct 2018 09:50:09 +0200 intrigeri <intrigeri at debian.org> wrote:
> Control: reassign -1 torsocks
>
> Hi Jeff,
>
> (almost fully quoting for the torsocks maintainers' sake)
>
> Jeff Cliff:
> > It is often handy to create shell aliases to do tasks that would otherwise
require a lot
> > of retyping the same thing over and over. For example 'git push' might
very well be
> > aliased to 'push' at the shell level by
>
> > alias push='git push'
>
> > then you could conceivably use
>
> >> torify push
>
> > as a shorthand for
>
> >> torify git push <git url>
>
> > this however fails: torify does not expand the aliases and doesn't know
what 'push' is.
>
> Nowadays torify is a mere wrapper around torsocks ⇒ reassigning.
>
> > As mentioned in the ubuntu downstream bug ( https://bugs.launchpad.net/
ubuntu/+source/tor/+bug/1687037 )
> > it doesn't matter what shell you use, torify just doesn't check.
>
> > what happens: torify takes the arguments passed in without checking if
there are aliases involved
> > what should happen: is torify should be alias-aware.
>
> Cheers,
> --
> intrigeri
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <http://alioth-lists.debian.net/pipermail/pkg-privacy-maintainers/attachments/20250310/6c56a9a4/attachment-0002.sig>
More information about the Pkg-privacy-maintainers
mailing list