Comments (6)
After testing, everything looks good to me, and it cant be more broken then the current implementation. So im gonna ship it 🚢
Let me know if your issue is not resolved by this release. As i said, keep in mind that some files may still cause issues if you dont fix the permissions manually.
from intellij-sops-plugin.
Because i made the file read-only i am blocking myself from writing the updated secrets. I am confused how i managed to overlook this issue while testing it...
Working on a fix now!
from intellij-sops-plugin.
I think i got it. I created a draft release with the fix.
Again sorry for missing this in the first place, gonna test this one a bit more thoroughly before release.
EDIT: You may need to clear the read-only status of the affected files manually to get everything to work correctly again. (chmod -R ...)
from intellij-sops-plugin.
That is what happens :) Much rather have a few quick fixes than cathedral building that drags on for centuries :)
from intellij-sops-plugin.
Is there a way to tell the IntelliJ cache system that this file is read/only instead of changing the file attributes underneath?
from intellij-sops-plugin.
That is more or less what i did in this change. Instead of setting the read-only flag on the actual file i just mark the "opened instance" of it as read-only.
from intellij-sops-plugin.
Related Issues (16)
- Executing `idea` issue in MacOS HOT 4
- secrets.yaml not detected as SOPS file (again) HOT 3
- All encrypted values are re-generated upon edit, resulting in noisy diffs HOT 4
- Age support HOT 1
- Error when storing changes to encrypted file using AWS SSO and AWS profiles HOT 1
- sops-plugin do not work HOT 2
- Partial encryption not supported HOT 3
- Compatibility with sops (and age) via aqua utility HOT 2
- RuntimeException: Could not get document for file
- Can a function key be assigned to the "Edit" link? HOT 2
- Feature Request: Allow customisation of SOPS path HOT 2
- Sops does not recognise encrypted secrets.yaml HOT 4
- It would be nice if a file detected to be SOPS editable was made read-only. HOT 3
- Feature Request: Support for environmental variables HOT 3
- intellij-sops-plugin doesn't respect path_regex and encrypted_regex in config .sops.yaml HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from intellij-sops-plugin.