8 Star 25 Fork 18

GiteeStudio / git-secure

 / 详情

AES encrypt files(in a folder) throw exception

已完成
缺陷
创建于  
2018-12-21 18:27

问题描述

repoTest> git-secure commit -m 'add main file'
New-AesFile : Unable to open /Users/andy/Desktop/tmp/repoTest/.git/secure/1/main.m for writing.
At /usr/local/share/git-secure/ps/commit.ps1:83 char:16
+ ...      $ret = New-AesFile -File $file -Key $aeskey -Destination "$gitdi ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,New-AesFile
 
 AES encrypt file '1/main.m' throw exception

重现步骤

And commit files in current folder, It is OK.

repoTest> git-secure commit -m 'add oc file'
[master e1be744] add oc file
 2 files changed, 98 insertions(+)
 create mode 100644 AppDelegate.h
 create mode 100644 AppDelegate.m
Add commit to secure track
Encrypt AppDelegate.h done
Encrypt AppDelegate.m done
[master 6370f3a] add oc file
 2 files changed, 0 insertions(+), 0 deletions(-)

期望效果

Encrypt files in sub-folder.

实际效果

评论 (2)

Andy 创建了任务
江二十三 修改了描述
江二十三 通过 oscstudio/git-secure Commit 31a5862任务状态待办的 修改为已完成
展开全部操作日志

but it can not work if you add/commit files in a sub-folder yet.
like this: git-secure add folder/file1.txt
git-secure commit -m 'add files'

it could find a encrypty exception.

i pull your update and it work now,thanks

嘻酱 关联项目设置为Gitee 运营

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(1)
PowerShell
1
https://gitee.com/oscstudio/git-secure.git
git@gitee.com:oscstudio/git-secure.git
oscstudio
git-secure
git-secure

搜索帮助

14c37bed 8189591 565d56ea 8189591