On Thu, Sep 22, 2022 at 12:38:16PM +0300, Konstantin Khomoutov wrote:
> > > .git/config:
> > >
> > > [filter "crypt"]
> > > clean = openssl enc -pbkdf2 -iter 1 -aes-256-cbc -in %f &&
> > > shred %f
> > > smudge = openssl enc -d -pbkdf2 -iter 1 -aes-256-cbc
> > >
On Wed, Sep 21, 2022 at 11:22:19PM -0700, Ronny Forberger wrote:
> > I solved it like this:
> >
> > .git/config:
> >
> > [filter "crypt"]
> > clean = openssl enc -pbkdf2 -iter 1 -aes-256-cbc -in %f &&
> > shred %f
> > smudge = openssl enc -d -pbkdf2 -iter 1 -aes-256-cbc
>
But I still have a problem:
The clean filter seems to be run on git pull as well. Any ideas how to
bypass this?
On Thursday, September 22, 2022 at 4:10:42 AM UTC+2 Ronny Forberger wrote:
> I solved it like this:
>
> .git/config:
>
> [filter "crypt"]
> clean = openssl enc -pbkdf2 -iter
I solved it like this:
.git/config:
[filter "crypt"]
clean = openssl enc -pbkdf2 -iter 1 -aes-256-cbc -in %f &&
shred %f
smudge = openssl enc -d -pbkdf2 -iter 1 -aes-256-cbc
required
.gitattributes
* filter=crypt
On Monday, September 12, 2022 at 9:37:11 PM
OK, thanks, I will maybe give it a try.
On Monday, September 12, 2022 at 6:25:41 PM UTC+2 Konstantin Khomoutov
wrote:
> On Mon, Sep 12, 2022 at 08:15:14AM -0700, Ronny Forberger wrote:
>
> [...]
> > I am trying to implement some encryption function with ansible-vault
> > into git hooks.
On Mon, Sep 12, 2022 at 08:15:14AM -0700, Ronny Forberger wrote:
[...]
> I am trying to implement some encryption function with ansible-vault
> into git hooks.
> For decryption, I need the list of files passed on the command line
[...]
> I mean, I just want a list of files that are
Danny Roy 1225 st-Edgar
Drummondville Québec Canada
j2B-2W4
Envoyé de mon iPhone
> Le 12 sept. 2022 à 11:15, Ronny Forberger
> a écrit :
>
> I mean, I just want a list of files that are passed to the git
I mean, I just want a list of files that are passed to the git checkout
command, not any related to the history of a file or its state.
On Monday, September 12, 2022 at 4:17:08 PM UTC+2 Konstantin Khomoutov
wrote:
> On Mon, Sep 12, 2022 at 06:42:15AM -0700, Ronny Forberger wrote:
>
> [...]
> >
On Mon, Sep 12, 2022 at 06:42:15AM -0700, Ronny Forberger wrote:
[...]
> > > I am trying to implement some encryption function with ansible-vault
> > > into git hooks.
> > > For decryption, I need the list of files passed on the command line to
> > > git checkout command. I am using the
No, the parameters ($@) that are provided to the hook are not enough for me.
On Monday, September 12, 2022 at 3:06:33 PM UTC+2 Konstantin Khomoutov
wrote:
> On Fri, Sep 09, 2022 at 07:56:56PM -0700, Ronny Forberger wrote:
>
> > I am trying to implement some encryption function with
On Fri, Sep 09, 2022 at 07:56:56PM -0700, Ronny Forberger wrote:
> I am trying to implement some encryption function with ansible-vault into
> git hooks.
> For decryption, I need the list of files passed on the command line to git
> checkout command. I am using the post-checkout hook here.
> I
Hi,
I am trying to implement some encryption function with ansible-vault into
git hooks.
For decryption, I need the list of files passed on the command line to git
checkout command. I am using the post-checkout hook here.
I didn't find this information on the Internet.
My post-checkout hook
12 matches
Mail list logo